org.apache.cxf.rs.security.oauth2.tokens.hawk
Class HawkAccessTokenValidator
java.lang.Object
org.apache.cxf.rs.security.oauth2.tokens.hawk.HawkAccessTokenValidator
- All Implemented Interfaces:
- AccessTokenValidator
public class HawkAccessTokenValidator
- extends Object
- implements AccessTokenValidator
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
HawkAccessTokenValidator
public HawkAccessTokenValidator()
getSupportedAuthorizationSchemes
public List<String> getSupportedAuthorizationSchemes()
- Specified by:
getSupportedAuthorizationSchemes
in interface AccessTokenValidator
validateAccessToken
public AccessTokenValidation validateAccessToken(MessageContext mc,
String authScheme,
String authSchemeData)
throws OAuthServiceException
- Specified by:
validateAccessToken
in interface AccessTokenValidator
- Throws:
OAuthServiceException
validateTimestampNonce
protected void validateTimestampNonce(HawkAccessToken token,
String ts,
String nonce)
setDataProvider
public void setDataProvider(OAuthDataProvider dataProvider)
setNonceVerifier
public void setNonceVerifier(NonceVerifier nonceVerifier)
Apache CXF