public class OAMSSOAuthHandler extends FormAuthHandler
| Modifier and Type | Field and Description |
|---|---|
static String |
OBSSO_COOKIE |
| Constructor and Description |
|---|
OAMSSOAuthHandler(IdcHttpProtocol httpProtocol) |
| Modifier and Type | Method and Description |
|---|---|
protected RIDCHttpMethod |
createPingMethod()
Create the method used to PING the server
|
IdcContext.HttpAuthScheme |
getAuthScheme() |
protected IdcContext.LoginForm |
getLoginForm()
Retrieve the login form for this context
|
protected void |
handleFormLogin()
Handle logging into the Content Server via a login form
|
protected void |
handleFormResponse(RIDCHttpMethod postMethod, int status)
Handle processing the response from the form login
|
boolean |
isAuthSupported(RIDCHttpClient httpClient, RIDCHttpMethod httpMethod)
Determine if the current handler can handle the given response to the auth scheme
|
createHttpClient, createLoginMethod, executeLogin, getHttpClient, getHttpProtocol, getLoginFormPath, getPingMethod, sendAuthenticatedRequest, setHttpClient, setPingMethod, throwFormValidateExceptionpublic static final String OBSSO_COOKIE
public OAMSSOAuthHandler(IdcHttpProtocol httpProtocol)
public boolean isAuthSupported(RIDCHttpClient httpClient, RIDCHttpMethod httpMethod) throws ProtocolException
isAuthSupported in interface AuthenticationHandlerisAuthSupported in class FormAuthHandlerhttpClient - the http client that was used to invoke the pinghttpMethod - the http method that was used to invoke the pingProtocolExceptionpublic IdcContext.HttpAuthScheme getAuthScheme()
getAuthScheme in interface AuthenticationHandlergetAuthScheme in class FormAuthHandlerprotected IdcContext.LoginForm getLoginForm()
getLoginForm in class FormAuthHandler
protected void handleFormLogin()
throws ProtocolException
handleFormLogin in class FormAuthHandlerProtocolException - if a login error occursprotected void handleFormResponse(RIDCHttpMethod postMethod, int status) throws ProtocolException
handleFormResponse in class FormAuthHandlerpostMethod - the post methodstatus - the status of the postProtocolException - if the POST was invalidprotected RIDCHttpMethod createPingMethod() throws ProtocolException
ProtocolException