Class CodeValidator
- java.lang.Object
-
- org.apache.oltu.oauth2.common.validators.AbstractValidator<HttpServletRequest>
-
- org.apache.oltu.oauth2.as.validator.CodeValidator
-
- All Implemented Interfaces:
OAuthValidator<HttpServletRequest>
public class CodeValidator extends AbstractValidator<HttpServletRequest>
-
-
Constructor Summary
Constructors Constructor Description CodeValidator()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
validateContentType(HttpServletRequest request)
void
validateMethod(HttpServletRequest request)
-
Methods inherited from class org.apache.oltu.oauth2.common.validators.AbstractValidator
performAllValidations, validateClientAuthenticationCredentials, validateNotAllowedParameters, validateOptionalParameters, validateRequiredParameters
-
-
-
-
Method Detail
-
validateMethod
public void validateMethod(HttpServletRequest request) throws OAuthProblemException
- Specified by:
validateMethod
in interfaceOAuthValidator<HttpServletRequest>
- Overrides:
validateMethod
in classAbstractValidator<HttpServletRequest>
- Throws:
OAuthProblemException
-
validateContentType
public void validateContentType(HttpServletRequest request) throws OAuthProblemException
- Specified by:
validateContentType
in interfaceOAuthValidator<HttpServletRequest>
- Overrides:
validateContentType
in classAbstractValidator<HttpServletRequest>
- Throws:
OAuthProblemException
-
-