|
Oracle® Fusion Middleware Remote Intradoc Client (RIDC) Java API Reference 11g Release 1 (11.1.1) E17274-02 |
|||||||||
| 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 org.apache.commons.httpclient.methods.PostMethod |
createLoginMethod()Create the post method for the login operation |
protected org.apache.commons.httpclient.HttpMethod |
createPingMethod()Create the method used to PING the server |
protected org.apache.commons.httpclient.HttpMethod |
createRedirectMethod(org.apache.commons.httpclient.HttpMethod 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(org.apache.commons.httpclient.methods.PostMethod postMethod, int status)Handle processing the response from the form login |
boolean |
isAuthSupported(org.apache.commons.httpclient.HttpClient httpClient, org.apache.commons.httpclient.HttpMethod httpMethod)Determine if the current handler can handle the given response to the auth scheme |
protected void |
readUnusedResponseBody(org.apache.commons.httpclient.HttpMethod 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(org.apache.commons.httpclient.HttpClient httpClient,
org.apache.commons.httpclient.HttpMethod httpMethod)
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 pingpublic 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 org.apache.commons.httpclient.methods.PostMethod createLoginMethod()
throws ProtocolException
createLoginMethod in class FormAuthHandlerProtocolException
protected void handleFormResponse(org.apache.commons.httpclient.methods.PostMethod postMethod,
int status)
throws ProtocolException
handleFormResponse in class FormAuthHandlerpostMethod - the post methodstatus - the status of the postProtocolException - if the POST was invalidprotected org.apache.commons.httpclient.HttpMethod createPingMethod()
protected org.apache.commons.httpclient.HttpMethod createRedirectMethod(org.apache.commons.httpclient.HttpMethod httpMethod)
httpMethod -protected 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(org.apache.commons.httpclient.HttpMethod method)
throws java.io.IOException
method -java.io.IOException
|
Oracle® Fusion Middleware Remote Intradoc Client (RIDC) Java API Reference 11g Release 1 (11.1.1) E17274-02 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||