|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.plumtree.portaluiinfrastructure.sso.SSOIntegrator
public final class SSOIntegrator
Helper class which handles integration with SSO products.
| Field Summary | |
|---|---|
static java.lang.String |
REQUEST_URL_BEFORE_SSO_LOGIN
This is the name of the session attribute that holds the GW URL that was accessed before the session was established. |
static int |
SSOSTATE_ATTEMPTING
SSOSTATEATTRIBUTE constant indicating that an sso user is
attempting to log in. |
static int |
SSOSTATE_LOGGEDIN
SSOSTATEATTRIBUTE constant indicating that an sso user is
logged in. |
static int |
SSOSTATE_LOGGEDOUT
SSOSTATEATTRIBUTE constant indicating that no sso user is
logged in or attempting to log in. |
static java.lang.String |
SSOSTATEATTRIBUTE
Attribute on the subsession indicating whether sso login has been attempted. |
static int |
SSOVENDOR_BASIC
Config.xml SSOVENDOR constant: Basic SSO |
static int |
SSOVENDOR_CUSTOM
Config.xml SSOVENDOR constant: custom integration |
static int |
SSOVENDOR_NETEGRITY
Config.xml SSOVENDOR constant: Netegrity Siteminder |
static int |
SSOVENDOR_NONE
Config.xml SSOVENDOR constant: SSO disabled. |
static int |
SSOVENDOR_OBLIX
Config.xml SSOVENDOR constant: Oblix NetPoint |
static int |
SSOVENDOR_OSSO
Config.xml SSOVENDOR constant: Oracle Application Server Single-Sign On |
static int |
SSOVENDOR_WINDOWS
Config.xml SSOVENDOR constant: Windows Integrated Auth (aka NTLM) |
| Constructor Summary | |
|---|---|
SSOIntegrator()
|
|
| Method Summary | |
|---|---|
Redirect |
DoLoginRedirect(RequestData tempData,
java.lang.String sQueryString)
Performs a redirect to the SSO login page, unless SSO login has previously failed. |
boolean |
DoLogoutRedirect(RequestData tempData)
Calls the SSO logout code and performs an SSO logout redirect if necessary. |
static java.lang.String |
GetDefaultPrefix()
Returns the default auth source prefix. |
static SSOLoginInfo |
GetLoginInfo(IXPRequest request)
Returns login info from the given request. |
static IPTSSOInfo |
GetSSOInfo(IXPRequest request,
SSOLoginInfo info)
Returns a PTSSOInfo object with the correct values. |
static boolean |
IsCaptureBasicAuthEnabled()
Indicates whether capture basic auth is enabled. |
boolean |
IsSSOEnabled()
Indicates whether SSO is enabled at the portal level. |
static void |
StaticInitConfig(PTConfigVarPack vpConfig)
Initializes global SSO settings using the given settings from x_config.xml. |
static void |
StaticInitSSO(PTSSOVarPack vpSSO)
Initializes SSO settings using the config settings. |
static void |
UpdateSSOCookieHeader(AActivitySpace _asOwner)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final int SSOVENDOR_NONE
public static final int SSOVENDOR_NETEGRITY
public static final int SSOVENDOR_OBLIX
public static final int SSOVENDOR_WINDOWS
public static final int SSOVENDOR_OSSO
public static final int SSOVENDOR_BASIC
public static final int SSOVENDOR_CUSTOM
public static final java.lang.String REQUEST_URL_BEFORE_SSO_LOGIN
public static final java.lang.String SSOSTATEATTRIBUTE
public static final int SSOSTATE_LOGGEDOUT
SSOSTATEATTRIBUTE constant indicating that no sso user is
logged in or attempting to log in.
public static final int SSOSTATE_ATTEMPTING
SSOSTATEATTRIBUTE constant indicating that an sso user is
attempting to log in.
public static final int SSOSTATE_LOGGEDIN
SSOSTATEATTRIBUTE constant indicating that an sso user is
logged in.
| Constructor Detail |
|---|
public SSOIntegrator()
| Method Detail |
|---|
public static SSOLoginInfo GetLoginInfo(IXPRequest request)
request - an IXPRequest value
public static IPTSSOInfo GetSSOInfo(IXPRequest request,
SSOLoginInfo info)
PTSSOInfo object with the correct values.
request - an IXPRequest valueinfo - a SSOLoginInfo value
IPTSSOInfo valuepublic static java.lang.String GetDefaultPrefix()
public boolean DoLogoutRedirect(RequestData tempData)
DoLogoutRedirect in interface ISSOHelpertempData - a RequestData value
boolean value
public Redirect DoLoginRedirect(RequestData tempData,
java.lang.String sQueryString)
DoLoginRedirect in interface ISSOHelpertempData - a RequestData valuesQueryString - a String value
public boolean IsSSOEnabled()
IsSSOEnabled in interface ISSOHelperboolean valueISSOHelper.IsSSOEnabled()public static boolean IsCaptureBasicAuthEnabled()
boolean valuepublic static void StaticInitConfig(PTConfigVarPack vpConfig)
vpConfig - a PTConfigVarPack valuepublic static void StaticInitSSO(PTSSOVarPack vpSSO)
vpSSO - a PTSSOVarPack valuepublic static void UpdateSSOCookieHeader(AActivitySpace _asOwner)
|
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||