org.apache.amber.oauth2.client.validator
Class OAuthClientValidator

java.lang.Object
  extended by org.apache.amber.oauth2.client.validator.OAuthClientValidator
Direct Known Subclasses:
CodeTokenValidator, CodeValidator, TokenValidator

public abstract class OAuthClientValidator
extends Object


Field Summary
protected  List<String> notAllowedParams
           
protected  Map<String,String[]> requiredParams
           
 
Constructor Summary
OAuthClientValidator()
           
 
Method Summary
 void validate(OAuthClientResponse response)
           
 void validateErrorResponse(OAuthClientResponse response)
           
 void validateNotAllowedParameters(OAuthClientResponse response)
           
 void validateParameters(OAuthClientResponse response)
           
 void validateRequiredParameters(OAuthClientResponse response)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

requiredParams

protected Map<String,String[]> requiredParams

notAllowedParams

protected List<String> notAllowedParams
Constructor Detail

OAuthClientValidator

public OAuthClientValidator()
Method Detail

validate

public void validate(OAuthClientResponse response)
              throws OAuthProblemException
Throws:
OAuthProblemException

validateParameters

public void validateParameters(OAuthClientResponse response)
                        throws OAuthProblemException
Throws:
OAuthProblemException

validateErrorResponse

public void validateErrorResponse(OAuthClientResponse response)
                           throws OAuthProblemException
Throws:
OAuthProblemException

validateRequiredParameters

public void validateRequiredParameters(OAuthClientResponse response)
                                throws OAuthProblemException
Throws:
OAuthProblemException

validateNotAllowedParameters

public void validateNotAllowedParameters(OAuthClientResponse response)
                                  throws OAuthProblemException
Throws:
OAuthProblemException


Copyright © 2010-2013 The Apache Software Foundation. All Rights Reserved.