@Configuration
@ComponentScan(value={"org.hswebframework.web.service.oauth2.server.simple","org.hswebframework.web.authorization.oauth2.controller"})
public class OAuth2GranterAutoConfiguration
extends Object
| 限定符和类型 | 类和说明 |
|---|---|
static class |
OAuth2GranterAutoConfiguration.OAuth2GranterConfiguration |
| 构造器和说明 |
|---|
OAuth2GranterAutoConfiguration() |
| 限定符和类型 | 方法和说明 |
|---|---|
org.hswebframework.web.oauth2.OAuth2GranterAutoConfiguration.AutoSettingOAuth2Granter |
autoSettingOAuth2Granter() |
OAuth2GrantEventListener |
oAuth2GrantEventListener(org.hswebframework.web.authorization.token.UserTokenManager userTokenManager) |
SimpleAccessTokenService |
simpleAccessTokenService(OAuth2AccessDao oAuth2AccessDao,
org.hswebframework.web.commons.entity.factory.EntityFactory entityFactory) |
SimpleAuthorizationCodeService |
simpleAuthorizationCodeService(AuthorizationCodeDao authorizationCodeDao,
org.hswebframework.web.commons.entity.factory.EntityFactory entityFactory) |
SimpleClientConfigRepository |
simpleClientService(OAuth2ClientDao oAuth2ClientDao) |
SimplePasswordService |
simplePasswordService(org.hswebframework.web.authorization.AuthenticationManager userService) |
@ConditionalOnMissingBean(value=org.hswebframework.web.authorization.oauth2.server.support.code.AuthorizationCodeService.class) @Bean public SimpleAuthorizationCodeService simpleAuthorizationCodeService(AuthorizationCodeDao authorizationCodeDao, org.hswebframework.web.commons.entity.factory.EntityFactory entityFactory)
@ConditionalOnMissingBean(value=org.hswebframework.web.authorization.oauth2.server.client.OAuth2ClientConfigRepository.class) @Bean public SimpleClientConfigRepository simpleClientService(OAuth2ClientDao oAuth2ClientDao)
@ConditionalOnMissingBean(value=org.hswebframework.web.authorization.oauth2.server.support.password.PasswordService.class) @Bean public SimplePasswordService simplePasswordService(org.hswebframework.web.authorization.AuthenticationManager userService)
@ConditionalOnMissingBean(value=org.hswebframework.web.authorization.oauth2.server.token.AccessTokenService.class) @Bean public SimpleAccessTokenService simpleAccessTokenService(OAuth2AccessDao oAuth2AccessDao, org.hswebframework.web.commons.entity.factory.EntityFactory entityFactory)
@Bean @ConditionalOnBean(value=org.hswebframework.web.authorization.token.UserTokenManager.class) public OAuth2GrantEventListener oAuth2GrantEventListener(org.hswebframework.web.authorization.token.UserTokenManager userTokenManager)
@Bean public org.hswebframework.web.oauth2.OAuth2GranterAutoConfiguration.AutoSettingOAuth2Granter autoSettingOAuth2Granter()
Copyright © 2016–2019. All rights reserved.