@Configuration(proxyBeanMethods=false) @EntityScan(basePackages="cn.herodotus.engine.oauth2.data.jpa.entity") @EnableJpaRepositories(basePackages="cn.herodotus.engine.oauth2.data.jpa.repository") @ComponentScan(basePackages="cn.herodotus.engine.oauth2.data.jpa.service") public class OAuth2DataJpaConfiguration extends Object
Description: OAuth2 Manager 模块配置
| 构造器和说明 |
|---|
OAuth2DataJpaConfiguration() |
| 限定符和类型 | 方法和说明 |
|---|---|
org.springframework.security.oauth2.server.authorization.OAuth2AuthorizationConsentService |
authorizationConsentService(HerodotusAuthorizationConsentService herodotusAuthorizationConsentService,
org.springframework.security.oauth2.server.authorization.client.RegisteredClientRepository registeredClientRepository) |
org.springframework.security.oauth2.server.authorization.OAuth2AuthorizationService |
authorizationService(HerodotusAuthorizationService herodotusAuthorizationService,
org.springframework.security.oauth2.server.authorization.client.RegisteredClientRepository registeredClientRepository) |
void |
postConstruct() |
org.springframework.security.oauth2.server.authorization.client.RegisteredClientRepository |
registeredClientRepository(HerodotusRegisteredClientService herodotusRegisteredClientService,
org.springframework.security.crypto.password.PasswordEncoder passwordEncoder) |
@PostConstruct public void postConstruct()
@Bean @ConditionalOnMissingBean public org.springframework.security.oauth2.server.authorization.client.RegisteredClientRepository registeredClientRepository(HerodotusRegisteredClientService herodotusRegisteredClientService, org.springframework.security.crypto.password.PasswordEncoder passwordEncoder)
@Bean @ConditionalOnMissingBean public org.springframework.security.oauth2.server.authorization.OAuth2AuthorizationService authorizationService(HerodotusAuthorizationService herodotusAuthorizationService, org.springframework.security.oauth2.server.authorization.client.RegisteredClientRepository registeredClientRepository)
@Bean @ConditionalOnMissingBean public org.springframework.security.oauth2.server.authorization.OAuth2AuthorizationConsentService authorizationConsentService(HerodotusAuthorizationConsentService herodotusAuthorizationConsentService, org.springframework.security.oauth2.server.authorization.client.RegisteredClientRepository registeredClientRepository)
Copyright © 2023 Dromara. All rights reserved.