类 OAuth2DataJpaConfiguration
java.lang.Object
cn.herodotus.engine.oauth2.data.jpa.configuration.OAuth2DataJpaConfiguration
@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 模块配置
- 作者:
- : gengwei.zheng
- Date:
- : 2022/3/1 18:25
-
构造器概要
构造器 -
方法概要
修饰符和类型方法说明org.springframework.security.oauth2.server.authorization.OAuth2AuthorizationConsentServiceauthorizationConsentService(HerodotusAuthorizationConsentService herodotusAuthorizationConsentService, org.springframework.security.oauth2.server.authorization.client.RegisteredClientRepository registeredClientRepository) org.springframework.security.oauth2.server.authorization.OAuth2AuthorizationServiceauthorizationService(HerodotusAuthorizationService herodotusAuthorizationService, org.springframework.security.oauth2.server.authorization.client.RegisteredClientRepository registeredClientRepository) voidorg.springframework.security.oauth2.server.authorization.client.RegisteredClientRepositoryregisteredClientRepository(HerodotusRegisteredClientService herodotusRegisteredClientService, org.springframework.security.crypto.password.PasswordEncoder passwordEncoder)
-
构造器详细资料
-
OAuth2DataJpaConfiguration
public OAuth2DataJpaConfiguration()
-
-
方法详细资料
-
postConstruct
@PostConstruct public void postConstruct() -
registeredClientRepository
@Bean @ConditionalOnMissingBean public org.springframework.security.oauth2.server.authorization.client.RegisteredClientRepository registeredClientRepository(HerodotusRegisteredClientService herodotusRegisteredClientService, org.springframework.security.crypto.password.PasswordEncoder passwordEncoder) -
authorizationService
@Bean @ConditionalOnMissingBean public org.springframework.security.oauth2.server.authorization.OAuth2AuthorizationService authorizationService(HerodotusAuthorizationService herodotusAuthorizationService, org.springframework.security.oauth2.server.authorization.client.RegisteredClientRepository registeredClientRepository) -
authorizationConsentService
@Bean @ConditionalOnMissingBean public org.springframework.security.oauth2.server.authorization.OAuth2AuthorizationConsentService authorizationConsentService(HerodotusAuthorizationConsentService herodotusAuthorizationConsentService, org.springframework.security.oauth2.server.authorization.client.RegisteredClientRepository registeredClientRepository)
-