@Named public class VerifyResource extends Object implements org.springframework.context.EnvironmentAware
| Constructor and Description |
|---|
VerifyResource() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
isJsonTypeInfoIncluded() |
void |
setAccessTokenRepository(AccessTokenRepository accessTokenRepository) |
void |
setEnvironment(org.springframework.core.env.Environment environment) |
void |
setResourceServerRepository(ResourceServerRepository resourceServerRepository) |
protected javax.ws.rs.core.Response |
unauthorized() |
javax.ws.rs.core.Response |
verifyToken(String authorization,
String accessToken) |
public javax.ws.rs.core.Response verifyToken(@HeaderParam(value="Authorization")
String authorization,
String accessToken)
throws IOException
IOExceptionprotected javax.ws.rs.core.Response unauthorized()
public void setAccessTokenRepository(AccessTokenRepository accessTokenRepository)
accessTokenRepository - the accessTokenRepository to setpublic void setResourceServerRepository(ResourceServerRepository resourceServerRepository)
resourceServerRepository - the resourceServerRepository to setpublic void setEnvironment(org.springframework.core.env.Environment environment)
setEnvironment in interface org.springframework.context.EnvironmentAwarepublic boolean isJsonTypeInfoIncluded()
Copyright © 2012–2013 SURFnet bv, The Netherlands. All rights reserved.