Class HawaiiTokenServices
- java.lang.Object
- 
- org.hawaiiframework.security.oauth2.provider.token.HawaiiTokenServices
 
- 
- All Implemented Interfaces:
- org.springframework.security.oauth2.provider.token.ResourceServerTokenServices
 
 public class HawaiiTokenServices extends Object implements org.springframework.security.oauth2.provider.token.ResourceServerTokenServices ResourceServerTokenServicesimplementation that combines the logic of theDefaultTokenServicesandUserInfoTokenServicesimplementations.- Since:
- 3.0.0
- Author:
- Wouter Eerdekens, Jules Houben
 
- 
- 
Constructor SummaryConstructors Constructor Description HawaiiTokenServices(org.springframework.security.oauth2.provider.token.DefaultTokenServices defaultTokenServices, org.springframework.boot.autoconfigure.security.oauth2.resource.UserInfoTokenServices userInfoTokenServices, Cache<org.springframework.security.core.Authentication> cache)Constructor.
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description org.springframework.security.oauth2.provider.OAuth2AuthenticationloadAuthentication(String accessToken)org.springframework.security.oauth2.common.OAuth2AccessTokenreadAccessToken(String accessToken)
 
- 
- 
- 
Constructor Detail- 
HawaiiTokenServicespublic HawaiiTokenServices(org.springframework.security.oauth2.provider.token.DefaultTokenServices defaultTokenServices, org.springframework.boot.autoconfigure.security.oauth2.resource.UserInfoTokenServices userInfoTokenServices, Cache<org.springframework.security.core.Authentication> cache)Constructor.- Parameters:
- defaultTokenServices- the defaultTokenServices instance
- userInfoTokenServices- the userInfoTokenServices instance
 
 
- 
 - 
Method Detail- 
loadAuthenticationpublic org.springframework.security.oauth2.provider.OAuth2Authentication loadAuthentication(String accessToken) throws org.springframework.security.core.AuthenticationException, org.springframework.security.oauth2.common.exceptions.InvalidTokenException - Specified by:
- loadAuthenticationin interface- org.springframework.security.oauth2.provider.token.ResourceServerTokenServices
- Throws:
- org.springframework.security.core.AuthenticationException
- org.springframework.security.oauth2.common.exceptions.InvalidTokenException
 
 - 
readAccessTokenpublic org.springframework.security.oauth2.common.OAuth2AccessToken readAccessToken(String accessToken) - Specified by:
- readAccessTokenin interface- org.springframework.security.oauth2.provider.token.ResourceServerTokenServices
 
 
- 
 
-