|
Oracle® WebCenter Content Remote Intradoc Client (RIDC) Java API Reference 11g Release 1 (11.1) E17274-03 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object
oracle.stellent.ridc.protocol.http.auth.FormAuthHandler
oracle.stellent.ridc.protocol.http.auth.OIMSSOAuthHandler
public class OIMSSOAuthHandler
Oracle Single Sign-on via the Oracle Identity Management (OIM) authentication handler.
| Field Summary | |
|---|---|
protected java.lang.String |
m_strAuthLocation |
protected java.lang.String |
m_strSiteToken |
static java.lang.String |
SITE_FORM_TOKEN |
static java.lang.String |
SITE_QUERY_PARAM_TOKEN |
| Constructor Summary | |
|---|---|
OIMSSOAuthHandler(IdcHttpProtocol httpProtocol) |
|
| Method Summary | |
|---|---|
protected RIDCHttpPostMethod |
createLoginMethod()Create the post method for the login operation |
protected RIDCHttpMethod |
createPingMethod()Create the method used to PING the server |
protected RIDCHttpMethod |
createRedirectMethod(RIDCHttpMethod httpMethod)Create a method to follow a redirect, using the Location response header. |
protected java.lang.String |
getAuthLocation()Returns the location of the SSO server. |
IdcContext.HttpAuthScheme |
getAuthScheme() |
protected IdcContext.LoginForm |
getLoginForm()Retrieve the login form for this context |
protected java.lang.String |
getLoginFormPath(IdcContext.LoginForm loginForm)Determine the location for the login form post. |
protected java.lang.String |
getSiteToken()Returns the site token. |
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 |
protected void |
readUnusedResponseBody(RIDCHttpMethod method)Read and discard the response body from the HttpMethod. |
protected void |
setAuthLocation(java.lang.String authLocation)Record the location of the SSO server. |
protected void |
setSiteToken(java.lang.String siteToken)Set the site token - a big string used to kick off the authentication. |
| Methods inherited from class oracle.stellent.ridc.protocol.http.auth.FormAuthHandler |
|---|
createHttpClient, executeLogin, getHttpClient, getHttpProtocol, getPingMethod, handleFormLogin, sendAuthenticatedRequest, setHttpClient, setPingMethod, throwFormValidateException |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String SITE_QUERY_PARAM_TOKEN
public static final java.lang.String SITE_FORM_TOKEN
protected java.lang.String m_strSiteToken
protected java.lang.String m_strAuthLocation
| Constructor Detail |
|---|
public OIMSSOAuthHandler(IdcHttpProtocol httpProtocol)
| Method Detail |
|---|
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 java.lang.String getLoginFormPath(IdcContext.LoginForm loginForm)
throws ProtocolException
getLoginFormPath in class FormAuthHandlerloginForm - the login formProtocolException
protected RIDCHttpPostMethod createLoginMethod()
throws ProtocolException
createLoginMethod in class FormAuthHandlerProtocolException
protected void handleFormResponse(RIDCHttpMethod postMethod,
int status)
throws ProtocolException
handleFormResponse in class FormAuthHandlerpostMethod - the post methodstatus - the status of the postProtocolException - if the POST was invalid
protected RIDCHttpMethod createPingMethod()
throws ProtocolException
ProtocolException
protected RIDCHttpMethod createRedirectMethod(RIDCHttpMethod httpMethod)
throws ProtocolException
httpMethod -ProtocolExceptionprotected void setSiteToken(java.lang.String siteToken)
siteToken -protected java.lang.String getSiteToken()
protected void setAuthLocation(java.lang.String authLocation)
authLocation -protected java.lang.String getAuthLocation()
protected void readUnusedResponseBody(RIDCHttpMethod method)
throws java.io.IOException
method -java.io.IOException
|
Oracle® WebCenter Content Remote Intradoc Client (RIDC) Java API Reference 11g Release 1 (11.1) E17274-03 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||