Apache CXF API

org.apache.cxf.rs.security.oauth.provider
Class DefaultOAuthValidator

java.lang.Object
  extended by net.oauth.SimpleOAuthValidator
      extended by org.apache.cxf.rs.security.oauth.provider.DefaultOAuthValidator
All Implemented Interfaces:
net.oauth.OAuthValidator

public class DefaultOAuthValidator
extends net.oauth.SimpleOAuthValidator

The utility OAuth validator which is primarily used by the runtime to validate that the issued tokens have not expired. Note that the runtime does validate OAuth signatures separately.


Field Summary
 
Fields inherited from class net.oauth.SimpleOAuthValidator
DEFAULT_MAX_TIMESTAMP_AGE, DEFAULT_TIMESTAMP_WINDOW, maxTimestampAgeMsec, maxVersion, minVersion, SINGLE_PARAMETERS
 
Constructor Summary
DefaultOAuthValidator()
           
 
Method Summary
 void checkSingleParameter(net.oauth.OAuthMessage message)
           
 void validateToken(Token token, OAuthDataProvider provider)
           
 
Methods inherited from class net.oauth.SimpleOAuthValidator
checkSingleParameters, currentTimeMsec, releaseGarbage, validateMessage, validateNonce, validateSignature, validateTimestamp, validateTimestampAndNonce, validateVersion
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultOAuthValidator

public DefaultOAuthValidator()
Method Detail

checkSingleParameter

public void checkSingleParameter(net.oauth.OAuthMessage message)
                          throws net.oauth.OAuthException,
                                 IOException,
                                 URISyntaxException
Throws:
net.oauth.OAuthException
IOException
URISyntaxException

validateToken

public void validateToken(Token token,
                          OAuthDataProvider provider)
                   throws net.oauth.OAuthProblemException
Throws:
net.oauth.OAuthProblemException

Apache CXF API

Apache CXF