org.wso2.carbon.identity.oauth.endpoint.user.impl
Class UserInforRequestDefaultValidator
java.lang.Object
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
|
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 |
UserInforRequestDefaultValidator
public UserInforRequestDefaultValidator()
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.