@Component(value="chainedTokenGranter") public class ChainedTokenGranter extends org.springframework.security.oauth2.provider.token.AbstractTokenGranter
Modifier and Type | Field and Description |
---|---|
static String |
GRANT_TYPE |
Constructor and Description |
---|
ChainedTokenGranter(OAuth2TokenEntityService tokenServices,
ClientDetailsEntityService clientDetailsService,
org.springframework.security.oauth2.provider.OAuth2RequestFactory requestFactory) |
Modifier and Type | Method and Description |
---|---|
protected org.springframework.security.oauth2.provider.OAuth2Authentication |
getOAuth2Authentication(org.springframework.security.oauth2.provider.ClientDetails client,
org.springframework.security.oauth2.provider.TokenRequest tokenRequest) |
public static final String GRANT_TYPE
@Autowired public ChainedTokenGranter(OAuth2TokenEntityService tokenServices, ClientDetailsEntityService clientDetailsService, org.springframework.security.oauth2.provider.OAuth2RequestFactory requestFactory)
tokenServices
- clientDetailsService
- GRANT_TYPE
- protected org.springframework.security.oauth2.provider.OAuth2Authentication getOAuth2Authentication(org.springframework.security.oauth2.provider.ClientDetails client, org.springframework.security.oauth2.provider.TokenRequest tokenRequest) throws org.springframework.security.core.AuthenticationException, org.springframework.security.oauth2.common.exceptions.InvalidTokenException
getOAuth2Authentication
in class org.springframework.security.oauth2.provider.token.AbstractTokenGranter
org.springframework.security.core.AuthenticationException
org.springframework.security.oauth2.common.exceptions.InvalidTokenException
Copyright © 2018. All rights reserved.