|
Oracle Communications Services Gatekeeper Java API Reference 6.0 E55513-02 |
||||||||||
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.
OAuth2HandlerConfig
, CustomizedOAuth2Validator
Method Summary | |
void |
buildAuthResponse(Map attribute, OAuth2ServletResponse response) Allows the handler to customize an authorization response request (endpoint: /oauth2/authorize). |
void |
buildDelegatedAuthResponse(Map attributes, OAuth2ServletResponse response) Allows the handler to customize a response for a delegated authorization request (endpoint: /oauth2/grant). |
void |
buildTokenResponse(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(Map attribute, OAuth2ServletResponse response)
attribute
- Mandatory and optional parameters in the requestresponse
- OAuth2 servlet response, for sending a responsepublic void buildDelegatedAuthResponse(Map attributes, OAuth2ServletResponse response)
attributes
- Mandatory and optional parameters in the request.response
- OAuth2 servlet response, for sending a response.public void buildTokenResponse(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 6.0 E55513-02 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |