This project has retired. For details please refer to its Attic page.
CodeTokenValidator (Apache Oltu: OAuth 2.0 Implementation - Authorization Server 0.31-incubating-SNAPSHOT API)

org.apache.amber.oauth2.as.validator
Class CodeTokenValidator

java.lang.Object
  extended by org.apache.amber.oauth2.common.validators.AbstractValidator<javax.servlet.http.HttpServletRequest>
      extended by org.apache.amber.oauth2.as.validator.CodeTokenValidator
All Implemented Interfaces:
OAuthValidator<javax.servlet.http.HttpServletRequest>

public class CodeTokenValidator
extends AbstractValidator<javax.servlet.http.HttpServletRequest>


Field Summary
 
Fields inherited from class org.apache.amber.oauth2.common.validators.AbstractValidator
notAllowedParams, optionalParams, requiredParams
 
Constructor Summary
CodeTokenValidator()
           
 
Method Summary
 void validateContentType(javax.servlet.http.HttpServletRequest request)
           
 void validateMethod(javax.servlet.http.HttpServletRequest request)
           
 
Methods inherited from class org.apache.amber.oauth2.common.validators.AbstractValidator
performAllValidations, validateNotAllowedParameters, validateOptionalParameters, validateRequiredParameters
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CodeTokenValidator

public CodeTokenValidator()
Method Detail

validateMethod

public void validateMethod(javax.servlet.http.HttpServletRequest request)
                    throws OAuthProblemException
Specified by:
validateMethod in interface OAuthValidator<javax.servlet.http.HttpServletRequest>
Overrides:
validateMethod in class AbstractValidator<javax.servlet.http.HttpServletRequest>
Throws:
OAuthProblemException

validateContentType

public void validateContentType(javax.servlet.http.HttpServletRequest request)
                         throws OAuthProblemException
Specified by:
validateContentType in interface OAuthValidator<javax.servlet.http.HttpServletRequest>
Overrides:
validateContentType in class AbstractValidator<javax.servlet.http.HttpServletRequest>
Throws:
OAuthProblemException


Copyright © 2010-2013 The Apache Software Foundation. All Rights Reserved.