Apache CXF API

org.apache.cxf.rs.security.oauth2.tokens.mac
Class MacAccessTokenValidator

java.lang.Object
  extended by org.apache.cxf.rs.security.oauth2.tokens.mac.MacAccessTokenValidator
All Implemented Interfaces:
AccessTokenValidator

public class MacAccessTokenValidator
extends Object
implements AccessTokenValidator


Constructor Summary
MacAccessTokenValidator()
           
 
Method Summary
 List<String> getSupportedAuthorizationSchemes()
           
 void setDataProvider(OAuthDataProvider dataProvider)
           
 AccessTokenValidation validateAccessToken(MessageContext mc, String authScheme, String authSchemeData)
           
protected  void validateTimestampNonce(MacAccessToken token, String ts, String nonce)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MacAccessTokenValidator

public MacAccessTokenValidator()
Method Detail

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 API

Apache CXF