org.apache.amber.oauth2.common.validators
Class AbstractValidator<T extends javax.servlet.http.HttpServletRequest>
java.lang.Object
org.apache.amber.oauth2.common.validators.AbstractValidator<T>
- All Implemented Interfaces:
- OAuthValidator<T>
public abstract class AbstractValidator<T extends javax.servlet.http.HttpServletRequest>
- extends Object
- implements OAuthValidator<T>
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
requiredParams
protected List<String> requiredParams
optionalParams
protected Map<String,String[]> optionalParams
notAllowedParams
protected List<String> notAllowedParams
AbstractValidator
public AbstractValidator()
validateMethod
public void validateMethod(T request)
throws OAuthProblemException
- Specified by:
validateMethod
in interface OAuthValidator<T extends javax.servlet.http.HttpServletRequest>
- Throws:
OAuthProblemException
validateContentType
public void validateContentType(T request)
throws OAuthProblemException
- Specified by:
validateContentType
in interface OAuthValidator<T extends javax.servlet.http.HttpServletRequest>
- Throws:
OAuthProblemException
validateRequiredParameters
public void validateRequiredParameters(T request)
throws OAuthProblemException
- Specified by:
validateRequiredParameters
in interface OAuthValidator<T extends javax.servlet.http.HttpServletRequest>
- Throws:
OAuthProblemException
validateOptionalParameters
public void validateOptionalParameters(T request)
throws OAuthProblemException
- Specified by:
validateOptionalParameters
in interface OAuthValidator<T extends javax.servlet.http.HttpServletRequest>
- Throws:
OAuthProblemException
validateNotAllowedParameters
public void validateNotAllowedParameters(T request)
throws OAuthProblemException
- Specified by:
validateNotAllowedParameters
in interface OAuthValidator<T extends javax.servlet.http.HttpServletRequest>
- Throws:
OAuthProblemException
performAllValidations
public void performAllValidations(T request)
throws OAuthProblemException
- Specified by:
performAllValidations
in interface OAuthValidator<T extends javax.servlet.http.HttpServletRequest>
- Throws:
OAuthProblemException
Copyright © 2010-2013 The Apache Software Foundation. All Rights Reserved.