org.apache.oltu.oauth2.common.validators
Class AbstractValidator<T extends javax.servlet.http.HttpServletRequest>
java.lang.Object
org.apache.oltu.oauth2.common.validators.AbstractValidator<T>
- All Implemented Interfaces:
- OAuthValidator<T>
- Direct Known Subclasses:
- AssertionValidator, AuthorizationCodeValidator, BearerBodyOAuthValidator, BearerHeaderOAuthValidator, BearerQueryOAuthValidator, ClientCredentialValidator, CodeTokenValidator, CodeValidator, PasswordValidator, PushPullValidator, RefreshTokenValidator, TokenValidator, UnauthenticatedAuthorizationCodeValidator, UnauthenticatedPasswordValidator, UnauthenticatedRefreshTokenValidator
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
enforceClientAuthentication
protected boolean enforceClientAuthentication
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
validateClientAuthenticationCredentials
public void validateClientAuthenticationCredentials(T request)
throws OAuthProblemException
- Specified by:
validateClientAuthenticationCredentials
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–2014 The Apache Software Foundation. All rights reserved.