org.apache.cxf.rs.security.oauth2.tokens.mac
Class MacAccessTokenValidator
java.lang.Object
org.apache.cxf.rs.security.oauth2.tokens.mac.MacAccessTokenValidator
- All Implemented Interfaces:
- AccessTokenValidator
public class MacAccessTokenValidator
- extends Object
- implements AccessTokenValidator
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MacAccessTokenValidator
public MacAccessTokenValidator()
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(MacAccessToken token,
String ts,
String nonce)
setDataProvider
public void setDataProvider(OAuthDataProvider dataProvider)
Apache CXF