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,JWTBearerValidator,PasswordValidator,RefreshTokenValidator,TokenValidator,UnauthenticatedAuthorizationCodeValidator,UnauthenticatedPasswordValidator,UnauthenticatedRefreshTokenValidator
public abstract class AbstractValidator<T extends javax.servlet.http.HttpServletRequest> extends java.lang.Object implements OAuthValidator<T>
 
- 
- 
Constructor Summary
Constructors Constructor Description AbstractValidator() 
- 
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidperformAllValidations(T request)voidvalidateClientAuthenticationCredentials(T request)voidvalidateContentType(T request)voidvalidateMethod(T request)voidvalidateNotAllowedParameters(T request)voidvalidateOptionalParameters(T request)voidvalidateRequiredParameters(T request) 
 - 
 
- 
- 
Method Detail
- 
validateMethod
public void validateMethod(T request) throws OAuthProblemException
- Specified by:
 validateMethodin interfaceOAuthValidator<T extends javax.servlet.http.HttpServletRequest>- Throws:
 OAuthProblemException
 
- 
validateContentType
public void validateContentType(T request) throws OAuthProblemException
- Specified by:
 validateContentTypein interfaceOAuthValidator<T extends javax.servlet.http.HttpServletRequest>- Throws:
 OAuthProblemException
 
- 
validateRequiredParameters
public void validateRequiredParameters(T request) throws OAuthProblemException
- Specified by:
 validateRequiredParametersin interfaceOAuthValidator<T extends javax.servlet.http.HttpServletRequest>- Throws:
 OAuthProblemException
 
- 
validateOptionalParameters
public void validateOptionalParameters(T request) throws OAuthProblemException
- Specified by:
 validateOptionalParametersin interfaceOAuthValidator<T extends javax.servlet.http.HttpServletRequest>- Throws:
 OAuthProblemException
 
- 
validateNotAllowedParameters
public void validateNotAllowedParameters(T request) throws OAuthProblemException
- Specified by:
 validateNotAllowedParametersin interfaceOAuthValidator<T extends javax.servlet.http.HttpServletRequest>- Throws:
 OAuthProblemException
 
- 
validateClientAuthenticationCredentials
public void validateClientAuthenticationCredentials(T request) throws OAuthProblemException
- Specified by:
 validateClientAuthenticationCredentialsin interfaceOAuthValidator<T extends javax.servlet.http.HttpServletRequest>- Throws:
 OAuthProblemException
 
- 
performAllValidations
public void performAllValidations(T request) throws OAuthProblemException
- Specified by:
 performAllValidationsin interfaceOAuthValidator<T extends javax.servlet.http.HttpServletRequest>- Throws:
 OAuthProblemException
 
 - 
 
 -