|
Oracle® Fusion Middleware Java API Reference for Oracle WebCenter Content Remote Intradoc Client (RIDC) 11g Release 1 (11.1) E17274-04 |
|||||||||
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 String |
m_strAuthLocation |
protected String |
m_strSiteToken |
static String |
SITE_FORM_TOKEN |
static 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 String |
getAuthLocation() Returns the location of the SSO server. |
IdcContext.HttpAuthScheme |
getAuthScheme() |
protected IdcContext.LoginForm |
getLoginForm() Retrieve the login form for this context |
protected String |
getLoginFormPath(IdcContext.LoginForm loginForm) Determine the location for the login form post. |
protected 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(String authLocation) Record the location of the SSO server. |
protected void |
setSiteToken(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 String SITE_QUERY_PARAM_TOKEN
public static final String SITE_FORM_TOKEN
protected String m_strSiteToken
protected String m_strAuthLocation
Constructor Detail |
---|
public OIMSSOAuthHandler(IdcHttpProtocol httpProtocol)
Method Detail |
---|
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 String getLoginFormPath(IdcContext.LoginForm loginForm) throws ProtocolException
getLoginFormPath
in class FormAuthHandler
loginForm
- the login formProtocolException
protected RIDCHttpPostMethod createLoginMethod() throws ProtocolException
createLoginMethod
in class FormAuthHandler
ProtocolException
protected 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
protected RIDCHttpMethod createRedirectMethod(RIDCHttpMethod httpMethod) throws ProtocolException
httpMethod
-ProtocolException
protected void setSiteToken(String siteToken)
siteToken
-protected String getSiteToken()
protected void setAuthLocation(String authLocation)
authLocation
-protected String getAuthLocation()
protected void readUnusedResponseBody(RIDCHttpMethod method) throws IOException, ProtocolException
method
-IOException
ProtocolException
|
Oracle® Fusion Middleware Java API Reference for Oracle WebCenter Content Remote Intradoc Client (RIDC) 11g Release 1 (11.1) E17274-04 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |