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, throwFormValidateException
public static final String OBSSO_COOKIE
public OAMSSOAuthHandler(IdcHttpProtocol httpProtocol)
public boolean isAuthSupported(RIDCHttpClient httpClient, RIDCHttpMethod httpMethod) throws ProtocolException
isAuthSupported
in interface AuthenticationHandler
isAuthSupported
in class FormAuthHandler
httpClient
- the http client that was used to invoke the pinghttpMethod
- the http method that was used to invoke the pingProtocolException
public IdcContext.HttpAuthScheme getAuthScheme()
getAuthScheme
in interface AuthenticationHandler
getAuthScheme
in class FormAuthHandler
protected IdcContext.LoginForm getLoginForm()
getLoginForm
in class FormAuthHandler
protected void handleFormLogin() throws ProtocolException
handleFormLogin
in class FormAuthHandler
ProtocolException
- if a login error occursprotected void handleFormResponse(RIDCHttpMethod postMethod, int status) throws ProtocolException
handleFormResponse
in class FormAuthHandler
postMethod
- the post methodstatus
- the status of the postProtocolException
- if the POST was invalidprotected RIDCHttpMethod createPingMethod() throws ProtocolException
ProtocolException