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 void
performAllValidations(T request)
void
validateClientAuthenticationCredentials(T request)
void
validateContentType(T request)
void
validateMethod(T request)
void
validateNotAllowedParameters(T request)
void
validateOptionalParameters(T request)
void
validateRequiredParameters(T request)
-
-
-
Method Detail
-
validateMethod
public void validateMethod(T request) throws OAuthProblemException
- Specified by:
validateMethod
in interfaceOAuthValidator<T extends HttpServletRequest>
- Throws:
OAuthProblemException
-
validateContentType
public void validateContentType(T request) throws OAuthProblemException
- Specified by:
validateContentType
in interfaceOAuthValidator<T extends HttpServletRequest>
- Throws:
OAuthProblemException
-
validateRequiredParameters
public void validateRequiredParameters(T request) throws OAuthProblemException
- Specified by:
validateRequiredParameters
in interfaceOAuthValidator<T extends HttpServletRequest>
- Throws:
OAuthProblemException
-
validateOptionalParameters
public void validateOptionalParameters(T request) throws OAuthProblemException
- Specified by:
validateOptionalParameters
in interfaceOAuthValidator<T extends HttpServletRequest>
- Throws:
OAuthProblemException
-
validateNotAllowedParameters
public void validateNotAllowedParameters(T request) throws OAuthProblemException
- Specified by:
validateNotAllowedParameters
in interfaceOAuthValidator<T extends HttpServletRequest>
- Throws:
OAuthProblemException
-
validateClientAuthenticationCredentials
public void validateClientAuthenticationCredentials(T request) throws OAuthProblemException
- Specified by:
validateClientAuthenticationCredentials
in interfaceOAuthValidator<T extends HttpServletRequest>
- Throws:
OAuthProblemException
-
performAllValidations
public void performAllValidations(T request) throws OAuthProblemException
- Specified by:
performAllValidations
in interfaceOAuthValidator<T extends HttpServletRequest>
- Throws:
OAuthProblemException
-
-