| Modifier and Type | Class and Description |
|---|---|
class |
BasicOAuth2Accessor
see
OAuth2Accessor |
| Modifier and Type | Method and Description |
|---|---|
OAuth2Accessor |
OAuth2Store.getOAuth2Accessor(OAuth2CallbackState state)
Given an OAuth2CallbackState, see
OAuth2Store.getOAuth2CallbackState, the store will
return the OAuth2Accessor if it exists in storage but will not create a new one. |
OAuth2Accessor |
BasicOAuth2Store.getOAuth2Accessor(OAuth2CallbackState state) |
OAuth2Accessor |
GadgetOAuth2TokenStore.getOAuth2Accessor(SecurityToken securityToken,
OAuth2Arguments arguments,
Uri gadgetUri)
Retrieves and merges the data from the
OAuth2Store, the gadget spec
and the request itself to populate the OAuth2 data for this requets. |
OAuth2Accessor |
OAuth2Store.getOAuth2Accessor(String gadgetUri,
String serviceName,
String user,
String scope)
Will look for an accessor with the supplied mapping and return it.
|
OAuth2Accessor |
BasicOAuth2Store.getOAuth2Accessor(String gadgetUri,
String serviceName,
String user,
String scope) |
OAuth2Accessor |
OAuth2Store.removeOAuth2Accessor(OAuth2Accessor accessor)
Removes an
OAuth2Accessor from the store. |
OAuth2Accessor |
BasicOAuth2Store.removeOAuth2Accessor(OAuth2Accessor accessor) |
| Modifier and Type | Method and Description |
|---|---|
OAuth2Accessor |
OAuth2Store.removeOAuth2Accessor(OAuth2Accessor accessor)
Removes an
OAuth2Accessor from the store. |
OAuth2Accessor |
BasicOAuth2Store.removeOAuth2Accessor(OAuth2Accessor accessor) |
void |
OAuth2Store.storeOAuth2Accessor(OAuth2Accessor accessor)
Either inserts updates an
OAuth2Accessor in the store. |
void |
BasicOAuth2Store.storeOAuth2Accessor(OAuth2Accessor accessor) |
| Constructor and Description |
|---|
BasicOAuth2Accessor(OAuth2Accessor accessor) |
| Modifier and Type | Method and Description |
|---|---|
OAuth2HandlerError |
StandardAuthenticationHandler.addOAuth2Authentication(HttpRequest request,
OAuth2Accessor accessor) |
OAuth2HandlerError |
ClientAuthenticationHandler.addOAuth2Authentication(HttpRequest request,
OAuth2Accessor accessor)
Handler implementation will modify request as necessary.
|
OAuth2HandlerError |
BasicAuthenticationHandler.addOAuth2Authentication(HttpRequest request,
OAuth2Accessor accessor) |
OAuth2HandlerError |
ResourceRequestHandler.addOAuth2Params(OAuth2Accessor accessor,
HttpRequest request)
Do the handler magic for the token type.
|
OAuth2HandlerError |
MacTokenHandler.addOAuth2Params(OAuth2Accessor accessor,
HttpRequest request) |
OAuth2HandlerError |
BearerTokenHandler.addOAuth2Params(OAuth2Accessor accessor,
HttpRequest request) |
HttpRequest |
GrantRequestHandler.getAuthorizationRequest(OAuth2Accessor accessor,
String completeAuthorizationUrl)
If
GrantRequestHandler.isRedirectRequired() is false the system will executes this
request. |
HttpRequest |
CodeGrantTypeHandler.getAuthorizationRequest(OAuth2Accessor accessor,
String completeAuthorizationUrl) |
HttpRequest |
ClientCredentialsGrantTypeHandler.getAuthorizationRequest(OAuth2Accessor accessor,
String completeAuthorizationUrl) |
String |
GrantRequestHandler.getCompleteUrl(OAuth2Accessor accessor)
Url to send redirects to.
|
String |
CodeGrantTypeHandler.getCompleteUrl(OAuth2Accessor accessor) |
String |
ClientCredentialsGrantTypeHandler.getCompleteUrl(OAuth2Accessor accessor) |
OAuth2HandlerError |
CodeAuthorizationResponseHandler.handleRequest(OAuth2Accessor accessor,
javax.servlet.http.HttpServletRequest request) |
OAuth2HandlerError |
AuthorizationEndpointResponseHandler.handleRequest(OAuth2Accessor accessor,
javax.servlet.http.HttpServletRequest request)
Let the handler do it's magic including any accessor/store updates.
|
OAuth2HandlerError |
TokenEndpointResponseHandler.handleResponse(OAuth2Accessor accessor,
HttpResponse response)
Let the handler do it's magic including any accessor/store updates.
|
OAuth2HandlerError |
TokenAuthorizationResponseHandler.handleResponse(OAuth2Accessor accessor,
HttpResponse response) |
OAuth2HandlerError |
CodeAuthorizationResponseHandler.handleResponse(OAuth2Accessor accessor,
HttpResponse response) |
OAuth2HandlerError |
AuthorizationEndpointResponseHandler.handleResponse(OAuth2Accessor accessor,
HttpResponse response)
Let the handler do it's magic including any accessor/store updates.
|
boolean |
CodeAuthorizationResponseHandler.handlesRequest(OAuth2Accessor accessor,
javax.servlet.http.HttpServletRequest request) |
boolean |
AuthorizationEndpointResponseHandler.handlesRequest(OAuth2Accessor accessor,
javax.servlet.http.HttpServletRequest request)
Does the handler support this
OAuth2Accessor /
HttpServletRequest response? The presumably has come from the
OAuth2CallbackServlet or somewhere similar. |
boolean |
TokenEndpointResponseHandler.handlesResponse(OAuth2Accessor accessor,
HttpResponse response)
Does the handler support this
OAuth2Accessor / HttpResponse
response? |
boolean |
TokenAuthorizationResponseHandler.handlesResponse(OAuth2Accessor accessor,
HttpResponse response) |
boolean |
CodeAuthorizationResponseHandler.handlesResponse(OAuth2Accessor accessor,
HttpResponse response) |
boolean |
AuthorizationEndpointResponseHandler.handlesResponse(OAuth2Accessor accessor,
HttpResponse response)
Does the handler support this
OAuth2Accessor / HttpResponse
response? |
| Modifier and Type | Method and Description |
|---|---|
OAuth2Accessor |
OAuth2Cache.getOAuth2Accessor(OAuth2CallbackState state)
Find an
OAuth2Accessor by state. |
OAuth2Accessor |
MapCache.getOAuth2Accessor(OAuth2CallbackState state) |
OAuth2Accessor |
OAuth2Cache.removeOAuth2Accessor(OAuth2Accessor accessor)
Remove the given accessor.
|
OAuth2Accessor |
MapCache.removeOAuth2Accessor(OAuth2Accessor accessor) |
| Modifier and Type | Method and Description |
|---|---|
protected abstract Map<String,OAuth2Accessor> |
MapCache.getAccessorMap() |
| Modifier and Type | Method and Description |
|---|---|
protected String |
MapCache.getAccessorKey(OAuth2Accessor accessor) |
OAuth2Accessor |
OAuth2Cache.removeOAuth2Accessor(OAuth2Accessor accessor)
Remove the given accessor.
|
OAuth2Accessor |
MapCache.removeOAuth2Accessor(OAuth2Accessor accessor) |
void |
OAuth2Cache.storeOAuth2Accessor(OAuth2Accessor accessor)
Stores the given accessor.
|
void |
MapCache.storeOAuth2Accessor(OAuth2Accessor accessor) |
| Modifier and Type | Method and Description |
|---|---|
protected Map<String,OAuth2Accessor> |
InMemoryCache.getAccessorMap() |
| Modifier and Type | Method and Description |
|---|---|
protected String |
InMemoryCache.getAccessorKey(OAuth2Accessor accessor) |
Copyright © 2007-2014 The Apache Software Foundation. All Rights Reserved.