org.apache.oltu.oauth2.rs.validator
Class BearerHeaderOAuthValidator

java.lang.Object
  extended by org.apache.oltu.oauth2.common.validators.AbstractValidator
      extended by org.apache.oltu.oauth2.rs.validator.BearerHeaderOAuthValidator
All Implemented Interfaces:
OAuthValidator

public class BearerHeaderOAuthValidator
extends AbstractValidator


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

Constructor Detail

BearerHeaderOAuthValidator

public BearerHeaderOAuthValidator()
Method Detail

validateContentType

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

validateMethod

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

validateRequiredParameters

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


Copyright © 2010–2014 The Apache Software Foundation. All rights reserved.