|
Oracle Communications Services Gatekeeper Java API Reference 7.0.0.1 E96578-01 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
OAuth2ServletValidateException is supposed to be thrown when validation fails. An associated error response is supposed to be generated.
OAuth2ServletValidateException
Method Summary | |
abstract void |
validateAdditionalParamsInAuthRequest(java.util.Map attributes)
With the exception of the validation of a resource owner, client, scope, redirect uri, and any additional parameters in an authorization request("oauth2/authorize")can be validated using this method. |
abstract void |
validateAdditionalParamsInDelegateAuthRequest(java.util.Map attributes)
With the exception of the validation of a resource owner, client, scope, redirect uri, and any additional parameters in a grant request("oauth2/grant")can be validated using this method. |
abstract void |
validateAdditionalParamsInTokenRequest(java.util.Map attributes)
With the exception of the validation of a resource owner, client, scope redirect uri, and any additional parameters in a token request("oauth2/token")can be validated using this method. |
abstract void |
validateClientCredentials(java.lang.String clientId,
java.lang.String password)
Validate if one client credential is correct, when token endpoint is triggered. |
abstract void |
validateGrantedScopes(java.lang.String resourceOwner,
java.lang.String[] grantedScopes)
Validate if the specified resource owner is allowed to grant the specified scope, when the grant endpoint is triggered. |
abstract java.lang.String |
validateRedirectURI(java.lang.String clientId,
java.net.URI redirectURI)
Validate if one redirectURI is valid for specified clientId, when the authorization endpoint is triggered. |
abstract void |
validateResourceOwner(java.lang.String resourceOwner,
java.lang.String password)
Validate if a resource owner is valid. |
Method Detail |
public void validateAdditionalParamsInAuthRequest(java.util.Map attributes) throws OAuth2ServletValidateException
attributes
- Additional parameter key-values in authorize request
OAuth2ServletValidateException
public void validateAdditionalParamsInDelegateAuthRequest(java.util.Map attributes) throws OAuth2ServletValidateException
attributes
- Additional parameter key-values in grant request
OAuth2ServletValidateException
- the exceptionpublic void validateAdditionalParamsInTokenRequest(java.util.Map attributes) throws OAuth2ServletValidateException
attributes
- Additional parameter key-values in token request
OAuth2ServletValidateException
public void validateClientCredentials(java.lang.String clientId, java.lang.String password) throws OAuth2ServletValidateException
clientId
- client idpassword
- Password from client's request
OAuth2ServletValidateException
public void validateGrantedScopes(java.lang.String resourceOwner, java.lang.String[] grantedScopes) throws OAuth2ServletValidateException
resourceOwner
- Resource owner namegrantedScopes
- Scopes from user input
OAuth2ServletValidateException
public java.lang.String validateRedirectURI(java.lang.String clientId, java.net.URI redirectURI) throws OAuth2ServletValidateException
clientId
- redirectURI
- from the user's input
OAuth2ServletValidateException
public void validateResourceOwner(java.lang.String resourceOwner, java.lang.String password) throws OAuth2ServletValidateException
resourceOwner
- Resource owner namepassword
- Password from user's input
OAuth2ServletValidateException
|
Oracle Communications Services Gatekeeper Java API Reference 7.0.0.1 E96578-01 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |