public static class AuthenticationConfig.MeasuringTokenInfoResourceServerTokenServices
extends org.zalando.stups.oauth2.spring.server.TokenInfoResourceServerTokenServices
| Constructor and Description |
|---|
MeasuringTokenInfoResourceServerTokenServices(java.lang.String tokenInfoEndpointUrl,
java.lang.String clientId,
com.codahale.metrics.MetricRegistry metricRegistry) |
| Modifier and Type | Method and Description |
|---|---|
org.springframework.security.oauth2.provider.OAuth2Authentication |
loadAuthentication(java.lang.String accessToken) |
public MeasuringTokenInfoResourceServerTokenServices(java.lang.String tokenInfoEndpointUrl,
java.lang.String clientId,
com.codahale.metrics.MetricRegistry metricRegistry)
public org.springframework.security.oauth2.provider.OAuth2Authentication loadAuthentication(java.lang.String accessToken)
throws org.springframework.security.core.AuthenticationException
loadAuthentication in interface org.springframework.security.oauth2.provider.token.ResourceServerTokenServicesloadAuthentication in class org.zalando.stups.oauth2.spring.server.TokenInfoResourceServerTokenServicesorg.springframework.security.core.AuthenticationException