com.plumtree.portaluiinfrastructure.statichelpers
Class SecurityConfigHelper

java.lang.Object
  extended by com.plumtree.portaluiinfrastructure.statichelpers.SecurityConfigHelper

public class SecurityConfigHelper
extends java.lang.Object

Provide security related configuration information. This class contains helper methods to get variables from the ConfigVarPack. This class accompanies ConfigHelper and PTConfigHelper.


Method Summary
static SecurityConfigHelper GetInstance()
          GetInstance must be called after the ConfigVarPack has loaded.
 java.lang.String GetSSOAbsoluteURL()
          Concatenate GetSSOBaseURL with the application or secure application URL.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

GetInstance

public static SecurityConfigHelper GetInstance()
GetInstance must be called after the ConfigVarPack has loaded. Calling GetInstance prior to warmup or prior to loading ConfigVarPack will result in an error. Any errors will be logged and a best attempt is made to continue initialization.

Returns:
the singleton instance of SecurityConfigHelper.

GetSSOAbsoluteURL

public java.lang.String GetSSOAbsoluteURL()
Concatenate GetSSOBaseURL with the application or secure application URL. The additional virtual directory and endpoint (e.g. /portal/server.pt) that would normally be present is removed. For security mode 1, 2, and 3 the secure URL is used. For security mode 0 the application URL is used.

Returns:
the SSO base URL in absolute form, e.g. https://hostname:8080/ssoVirtualDir/SSOServlet



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