Class AbstractValidator<T extends 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 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 HttpServletRequest>- Throws:
OAuthProblemException
-
validateContentType
public void validateContentType(T request) throws OAuthProblemException
- Specified by:
validateContentTypein interfaceOAuthValidator<T extends HttpServletRequest>- Throws:
OAuthProblemException
-
validateRequiredParameters
public void validateRequiredParameters(T request) throws OAuthProblemException
- Specified by:
validateRequiredParametersin interfaceOAuthValidator<T extends HttpServletRequest>- Throws:
OAuthProblemException
-
validateOptionalParameters
public void validateOptionalParameters(T request) throws OAuthProblemException
- Specified by:
validateOptionalParametersin interfaceOAuthValidator<T extends HttpServletRequest>- Throws:
OAuthProblemException
-
validateNotAllowedParameters
public void validateNotAllowedParameters(T request) throws OAuthProblemException
- Specified by:
validateNotAllowedParametersin interfaceOAuthValidator<T extends HttpServletRequest>- Throws:
OAuthProblemException
-
validateClientAuthenticationCredentials
public void validateClientAuthenticationCredentials(T request) throws OAuthProblemException
- Specified by:
validateClientAuthenticationCredentialsin interfaceOAuthValidator<T extends HttpServletRequest>- Throws:
OAuthProblemException
-
performAllValidations
public void performAllValidations(T request) throws OAuthProblemException
- Specified by:
performAllValidationsin interfaceOAuthValidator<T extends HttpServletRequest>- Throws:
OAuthProblemException
-
-