com.plumtree.uiinfrastructure.login
Class SSOHelper

java.lang.Object
  extended by com.plumtree.uiinfrastructure.login.SSOHelper
All Implemented Interfaces:
ISSOHelper

public final class SSOHelper
extends java.lang.Object
implements ISSOHelper

This singleton class controls SSO redirects. To implement your own SSO redirect code, simply implement an instance of ISSOHelper and initialize this class with your helper using the StaticInit method. Created on Mar 13, 2003

Author:
mikej

Field Summary
static SSOHelper INSTANCE
          Use this class static to access the one and only instance of SSOHelper.
 
Method Summary
 Redirect DoLoginRedirect(RequestData tempData, java.lang.String sQueryString)
           
 boolean DoLogoutRedirect(RequestData tempData)
           
 boolean IsSSOEnabled()
          Returns true if SSO is enabled at the portal level.
static void StaticInit(ISSOHelper SSOHelper)
          Static initialization method.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

INSTANCE

public static final SSOHelper INSTANCE
Use this class static to access the one and only instance of SSOHelper.

Method Detail

StaticInit

public static final void StaticInit(ISSOHelper SSOHelper)
Static initialization method. Use this method to add custom user session object handling code. This method does not need to be called.

Parameters:
ISSOHelper - custom SSO code

IsSSOEnabled

public boolean IsSSOEnabled()
Description copied from interface: ISSOHelper
Returns true if SSO is enabled at the portal level. This does not take into account subportal settings and should only be used as a default setting if the subportal does not specify if SSO is enabled or disabled. To access the subportal SSO setting, use SSOAuthenticator.UseThisAuth().

Specified by:
IsSSOEnabled in interface ISSOHelper
Returns:

DoLoginRedirect

public Redirect DoLoginRedirect(RequestData tempData,
                                java.lang.String sQueryString)
Specified by:
DoLoginRedirect in interface ISSOHelper
Returns:

DoLogoutRedirect

public boolean DoLogoutRedirect(RequestData tempData)
Specified by:
DoLogoutRedirect in interface ISSOHelper
Returns:



Copyright © 2002,2003,2004,2005 Plumtree Software, Inc., All Rights Reserved.