net.smartam.leeloo.common.validators
Class AbstractValidator
java.lang.Object
net.smartam.leeloo.common.validators.AbstractValidator
- All Implemented Interfaces:
- OAuthValidator
public abstract class AbstractValidator
- extends Object
- implements OAuthValidator
- Author:
- Maciej Machulak, Lukasz Moren
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(javax.servlet.http.HttpServletRequest request)
throws OAuthProblemException
- Specified by:
validateMethod
in interface OAuthValidator
- Throws:
OAuthProblemException
validateContentType
public void validateContentType(javax.servlet.http.HttpServletRequest request)
throws OAuthProblemException
- Specified by:
validateContentType
in interface OAuthValidator
- Throws:
OAuthProblemException
validateRequiredParameters
public void validateRequiredParameters(javax.servlet.http.HttpServletRequest request)
throws OAuthProblemException
- Specified by:
validateRequiredParameters
in interface OAuthValidator
- Throws:
OAuthProblemException
validateOptionalParameters
public void validateOptionalParameters(javax.servlet.http.HttpServletRequest request)
throws OAuthProblemException
- Specified by:
validateOptionalParameters
in interface OAuthValidator
- Throws:
OAuthProblemException
validateNotAllowedParameters
public void validateNotAllowedParameters(javax.servlet.http.HttpServletRequest request)
throws OAuthProblemException
- Specified by:
validateNotAllowedParameters
in interface OAuthValidator
- Throws:
OAuthProblemException
performAllValidations
public void performAllValidations(javax.servlet.http.HttpServletRequest request)
throws OAuthProblemException
- Specified by:
performAllValidations
in interface OAuthValidator
- Throws:
OAuthProblemException
Copyright © 2010. All Rights Reserved.