Class 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 模块配置
- Author:
- : gengwei.zheng
- Date:
- : 2022/3/1 18:25
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.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)
-
Constructor Details
-
OAuth2DataJpaConfiguration
public OAuth2DataJpaConfiguration()
-
-
Method Details
-
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)
-