Class OAMSSOAuthHandler
java.lang.Object
oracle.stellent.ridc.protocol.http.auth.FormAuthHandler
oracle.stellent.ridc.protocol.http.auth.OAMSSOAuthHandler
- All Implemented Interfaces:
AuthenticationHandler
Oracle Single Sign-on via the Oracle Access Manager (OAM) authentication handler.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected RIDCHttpMethodCreate the method used to PING the serverprotected IdcContext.LoginFormRetrieve the login form for this contextprotected voidHandle logging into the Content Server via a login formprotected voidhandleFormResponse(RIDCHttpMethod postMethod, int status) Handle processing the response from the form loginbooleanisAuthSupported(RIDCHttpClient httpClient, RIDCHttpMethod httpMethod) Determine if the current handler can handle the given response to the auth schemeMethods inherited from class oracle.stellent.ridc.protocol.http.auth.FormAuthHandler
createHttpClient, createLoginMethod, executeLogin, getHttpClient, getHttpProtocol, getLoginFormPath, getPingMethod, sendAuthenticatedRequest, setHttpClient, setPingMethod, throwFormValidateException
-
Field Details
-
OBSSO_COOKIE
- See Also:
-
-
Constructor Details
-
OAMSSOAuthHandler
-
-
Method Details
-
isAuthSupported
public boolean isAuthSupported(RIDCHttpClient httpClient, RIDCHttpMethod httpMethod) throws ProtocolException Determine if the current handler can handle the given response to the auth scheme- Specified by:
isAuthSupportedin interfaceAuthenticationHandler- Overrides:
isAuthSupportedin classFormAuthHandler- Parameters:
httpClient- the http client that was used to invoke the pinghttpMethod- the http method that was used to invoke the ping- Returns:
- true if the handler can support the requests to the given server
- Throws:
ProtocolException
-
getAuthScheme
- Specified by:
getAuthSchemein interfaceAuthenticationHandler- Overrides:
getAuthSchemein classFormAuthHandler- Returns:
- the authentication scheme associated with this handler
-
getLoginForm
Retrieve the login form for this context- Overrides:
getLoginFormin classFormAuthHandler- Returns:
- the login form to use
-
handleFormLogin
Handle logging into the Content Server via a login form- Overrides:
handleFormLoginin classFormAuthHandler- Throws:
ProtocolException- if a login error occurs
-
handleFormResponse
Handle processing the response from the form login- Overrides:
handleFormResponsein classFormAuthHandler- Parameters:
postMethod- the post methodstatus- the status of the post- Throws:
ProtocolException- if the POST was invalid
-
createPingMethod
Create the method used to PING the server- Returns:
- the http method to ping
- Throws:
ProtocolException
-