|
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 |
Specified by the annotation OAuth2HandlerConfig, this stateless handler is able to handle a specified OAuth2 request according different response and grant types. You can specify a single OAuth2Validator which is used to overwrite default validation of parameters, such as the resource owner credential, or if one resource owner is allowed to grant a specified scope or not.
OAuth2Handler
,
CustomizedOAuth2Validator
Method Summary | |
abstract void |
buildAuthResponse(java.util.Map attribute,
OAuth2ServletResponse response)
Allows the handler to customize an authorization response request (endpoint: /oauth2/authorize). |
abstract void |
buildDelegatedAuthResponse(java.util.Map attributes,
OAuth2ServletResponse response)
Allows the handler to customize a response for a delegated authorization request (endpoint: /oauth2/grant). |
abstract void |
buildTokenResponse(java.util.Map attributes,
OAuth2ServletResponse response)
Allows the handler to customize a response for token requests (endpoint: /oauth2/token). |
Methods inherited from interface oracle.ocsg.oauth2.ext.api.OAuth2Handler |
onAuthRequest, onDelegatedAuthRequest, onTokenRequest |
Method Detail |
public void buildAuthResponse(java.util.Map attribute, OAuth2ServletResponse response)
attribute
- Mandatory and optional parameters in the requestresponse
- OAuth2 servlet response, for sending a responsepublic void buildDelegatedAuthResponse(java.util.Map attributes, OAuth2ServletResponse response)
attributes
- Mandatory and optional parameters in the request.response
- OAuth2 servlet response, for sending a response.public void buildTokenResponse(java.util.Map attributes, OAuth2ServletResponse response)
attributes
- Mandatory and optional parameters in the request.response
- OAuth2 servlet response, for sending a response.
|
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 |