public class OidcRemoteTokenServices extends Object implements DecisionResourceServerTokenServices
uuidPattern| Constructor and Description |
|---|
OidcRemoteTokenServices(String checkTokenEndpointUrl,
String clientId,
String clientSecret) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
canHandle(String accessToken) |
org.springframework.security.oauth2.provider.OAuth2Authentication |
loadAuthentication(String accessToken) |
org.springframework.security.oauth2.common.OAuth2AccessToken |
readAccessToken(String accessToken) |
void |
setRestTemplate(org.springframework.web.client.RestTemplate restTemplate) |
public org.springframework.security.oauth2.provider.OAuth2Authentication loadAuthentication(String accessToken) throws org.springframework.security.core.AuthenticationException, org.springframework.security.oauth2.common.exceptions.InvalidTokenException
loadAuthentication in interface org.springframework.security.oauth2.provider.token.ResourceServerTokenServicesorg.springframework.security.core.AuthenticationExceptionorg.springframework.security.oauth2.common.exceptions.InvalidTokenExceptionpublic org.springframework.security.oauth2.common.OAuth2AccessToken readAccessToken(String accessToken)
readAccessToken in interface org.springframework.security.oauth2.provider.token.ResourceServerTokenServicespublic void setRestTemplate(org.springframework.web.client.RestTemplate restTemplate)
public boolean canHandle(String accessToken)
canHandle in interface DecisionResourceServerTokenServicesCopyright © 2016 Pivotal Software, Inc.. All rights reserved.