Skip navigation links

Oracle® Fusion Middleware Remote Intradoc Client (RIDC) Java API Reference
11g Release 1 (11.1.1)

E17274-01


oracle.stellent.ridc.protocol.http.auth
Class OAMSSOAuthHandler

java.lang.Object
  extended by oracle.stellent.ridc.protocol.http.auth.FormAuthHandler
      extended by oracle.stellent.ridc.protocol.http.auth.OAMSSOAuthHandler

All Implemented Interfaces:
AuthenticationHandler

public class OAMSSOAuthHandler
extends FormAuthHandler

Oracle Single Sign-on via the Oracle Access Manager (OAM) authentication handler.


Field Summary
static java.lang.String OBSSO_COOKIE
           

 

Constructor Summary
OAMSSOAuthHandler(IdcHttpProtocol httpProtocol)
           

 

Method Summary
protected  org.apache.commons.httpclient.HttpMethod 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(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

 

Methods inherited from class oracle.stellent.ridc.protocol.http.auth.FormAuthHandler
createHttpClient, createLoginMethod, executeLogin, getHttpClient, getHttpProtocol, getLoginFormPath, getPingMethod, sendAuthenticatedRequest, setHttpClient, setPingMethod, throwFormValidateException

 

Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

 

Field Detail

OBSSO_COOKIE

public static final java.lang.String OBSSO_COOKIE
See Also:
Constant Field Values

Constructor Detail

OAMSSOAuthHandler

public OAMSSOAuthHandler(IdcHttpProtocol httpProtocol)

Method Detail

isAuthSupported

public 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
Specified by:
isAuthSupported in interface AuthenticationHandler
Overrides:
isAuthSupported in class FormAuthHandler
Parameters:
httpClient - the http client that was used to invoke the ping
httpMethod - the http method that was used to invoke the ping
Returns:
true if the handler can support the requests to the given server

getAuthScheme

public IdcContext.HttpAuthScheme getAuthScheme()
Specified by:
getAuthScheme in interface AuthenticationHandler
Overrides:
getAuthScheme in class FormAuthHandler
Returns:
the authentication scheme associated with this handler

getLoginForm

protected IdcContext.LoginForm getLoginForm()
Retrieve the login form for this context
Overrides:
getLoginForm in class FormAuthHandler
Returns:
the login form to use

handleFormLogin

protected void handleFormLogin()
                        throws ProtocolException
Handle logging into the Content Server via a login form
Overrides:
handleFormLogin in class FormAuthHandler
Throws:
ProtocolException - if a login error occurs

handleFormResponse

protected void handleFormResponse(org.apache.commons.httpclient.methods.PostMethod postMethod,
                                  int status)
                           throws ProtocolException
Handle processing the response from the form login
Overrides:
handleFormResponse in class FormAuthHandler
Parameters:
postMethod - the post method
status - the status of the post
Throws:
ProtocolException - if the POST was invalid

createPingMethod

protected org.apache.commons.httpclient.HttpMethod createPingMethod()
Create the method used to PING the server
Returns:
the http method to ping

Skip navigation links

Oracle® Fusion Middleware Remote Intradoc Client (RIDC) Java API Reference
11g Release 1 (11.1.1)

E17274-01


Copyright © 2008, 2010, Oracle and/or its affiliates. All rights reserved.