org.wso2.carbon.identity.oauth.endpoint.user.impl
Class UserInforRequestDefaultValidator

java.lang.Object
  extended by org.wso2.carbon.identity.oauth.endpoint.user.impl.UserInforRequestDefaultValidator
All Implemented Interfaces:
UserInfoRequestValidator

public class UserInforRequestDefaultValidator
extends Object
implements UserInfoRequestValidator

Validates the schema and authorization header according to the specification

See Also:
http://openid.net/specs/openid-connect-basic-1_0-22.html#anchor6

Constructor Summary
UserInforRequestDefaultValidator()
           
 
Method Summary
 String validateRequest(javax.servlet.http.HttpServletRequest request)
          Validates the UserInfo request and return the access token if validation succeed.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UserInforRequestDefaultValidator

public UserInforRequestDefaultValidator()
Method Detail

validateRequest

public String validateRequest(javax.servlet.http.HttpServletRequest request)
                       throws UserInfoEndpointException
Description copied from interface: UserInfoRequestValidator
Validates the UserInfo request and return the access token if validation succeed. If validation failed, an UserInfoEndpointException will be thrown. Scope validation must be done at the access token validation

Specified by:
validateRequest in interface UserInfoRequestValidator
Returns:
Throws:
UserInfoEndpointException


Copyright © 2015 WSO2. All rights reserved.