com.plumtree.uiinfrastructure.application.varpacks
Class SecureASVarPack

java.lang.Object
  extended by com.plumtree.uiinfrastructure.web.BaseVarPack
      extended by com.plumtree.uiinfrastructure.application.varpacks.SecureASVarPack
All Implemented Interfaces:
IVarPack

public class SecureASVarPack
extends BaseVarPack

This VarPack is used to store the list of secure ASs. The list is loaded by the WarmUp Servlet from SecureActivitySpaces.xml. In Security Mode 1, Activity Spaces in this list will be automatically redirected to https.

Author:
John Osborne

Field Summary
static java.lang.String PORTAL_SECURESPACES_COMPONENT_TYPE
           
static java.lang.String VARPACK_ID
          The string ID of this variable package.
 
Constructor Summary
SecureASVarPack()
           
 
Method Summary
protected  void ExpireContent()
          You cannot the secure space list.
protected  java.lang.Object GetValue(java.lang.String arg0)
          This method will return the name of the secure space if it is in this variable package.
 java.lang.String GetVarPackID()
          Get the id of this var pack instance.
 IXPEnumerator GetVarPackKeys()
          This method will return an enumeration of the secure Activity Spaces.
 boolean IsSpaceSecured(java.lang.String _sASName)
          Returns true if the AS identified by the name in argument is in the list and should be secured.
protected  void Load()
          This method loads the secure space list into memory.
protected  void Reload()
          This method reloads the x_config.xml file into memory.
 
Methods inherited from class com.plumtree.uiinfrastructure.web.BaseVarPack
CanReloadVarPackFromUI, ExpireVarPackContent, GetConfigPath, GetExpireTimeout, GetLastAccessedTimeStamp, GetReloadInterval, GetVarPackValue, IsLoaded, LoadVarPack, ReloadVarPack, SetExpireTimeout, SetReloadInterval
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

VARPACK_ID

public static final java.lang.String VARPACK_ID
The string ID of this variable package.

See Also:
Constant Field Values

PORTAL_SECURESPACES_COMPONENT_TYPE

public static final java.lang.String PORTAL_SECURESPACES_COMPONENT_TYPE
See Also:
Constant Field Values
Constructor Detail

SecureASVarPack

public SecureASVarPack()
Method Detail

GetVarPackID

public java.lang.String GetVarPackID()
Description copied from class: BaseVarPack
Get the id of this var pack instance. Note: VarPackManager only has 1 key per var pack. This should be unquie per class instance.

Specified by:
GetVarPackID in interface IVarPack
Specified by:
GetVarPackID in class BaseVarPack
Returns:
A unique key to store the var pack in the varpackmanager.
See Also:
IVarPack.GetVarPackID()

GetVarPackKeys

public IXPEnumerator GetVarPackKeys()
This method will return an enumeration of the secure Activity Spaces.

Specified by:
GetVarPackKeys in interface IVarPack
Specified by:
GetVarPackKeys in class BaseVarPack
Returns:
IXPEnumerator of keys in the var pack.
See Also:
IVarPack.GetVarPackKeys()

IsSpaceSecured

public boolean IsSpaceSecured(java.lang.String _sASName)
Returns true if the AS identified by the name in argument is in the list and should be secured.

Parameters:
_sASName -
Returns:
boolean

ExpireContent

protected void ExpireContent()
You cannot the secure space list.

Specified by:
ExpireContent in class BaseVarPack
See Also:
com.plumtree.xpsupport.web.BaseVarPack#ExpireContent()

GetValue

protected java.lang.Object GetValue(java.lang.String arg0)
This method will return the name of the secure space if it is in this variable package.

Specified by:
GetValue in class BaseVarPack
Parameters:
arg0 - The key for the lookup
Returns:
the value from the lookup (null if not found)
See Also:
com.plumtree.xpsupport.web.BaseVarPack#GetValue(String)

Load

protected void Load()
This method loads the secure space list into memory.

Specified by:
Load in class BaseVarPack
See Also:
com.plumtree.xpsupport.web.BaseVarPack#Load()

Reload

protected void Reload()
This method reloads the x_config.xml file into memory. It clears the current data rather than delegating to Load().

Specified by:
Reload in class BaseVarPack
See Also:
com.plumtree.xpsupport.web.BaseVarPack#Reload()



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