com.plumtree.portalpages.admin.ptutilities.credentialvaultmanager
Class CredentialVaultManagerAS
java.lang.Object
  
com.plumtree.uiinfrastructure.activityspace.AActivitySpace
      
com.plumtree.uiinfrastructure.form.AFormAS
          
com.plumtree.uiinfrastructure.editor.EditorAS
              
com.plumtree.portaluiinfrastructure.editor.PTEditorAS
                  
com.plumtree.portalpages.admin.ptutilities.credentialvaultmanager.CredentialVaultManagerAS
- All Implemented Interfaces: 
 - IManagedObject, IMVCObject, IFormAS, IEnvironment
 
public class CredentialVaultManagerAS
- extends PTEditorAS
 
- Author:
 
  - jennifersu
 Credential Vault Manager Utility.  
 Allows admins to manage lockboxes.
 
 
 
 
 
 
| 
Method Summary | 
 boolean | 
CheckBasicAccess(java.lang.String strPage,
                 java.lang.String strControl,
                 boolean bSameSpace)
 
          This method is called by the Interpreter at the beginning of every HTTP
 request to determine whether or not the current user has the security
 privileges necessary to view the requested page. | 
 java.lang.Object | 
Create()
 
          This method is used by the ASManager to return new instances of managed
 objects. | 
 java.lang.String | 
GetEditorTitle()
 
          Returns the Editor title. | 
 java.lang.String | 
GetName()
 
          Returns the Class name. | 
 java.lang.String | 
GetRepostControlName()
 
          Returns the class name of the Repost Control. | 
 void | 
Init()
 
          Registers all the classes of the Activity Space. | 
 void | 
SetCurrentPage(IDisplayPage page)
 
          Set the help page for this editor. | 
 
 
 
| Methods inherited from class com.plumtree.uiinfrastructure.activityspace.AActivitySpace | 
ChangeSubSpaceKey, CleanupAllData, CleanupTempData, DeleteSubSpace, GetAccessStyle, GetApplication, GetControl, GetControlExists, GetControlsEnumerator, GetCurrentFormData, GetCurrentHTTPRequest, GetCurrentHTTPResponse, GetCurrentNormalizedBaseURL, GetCurrentPage, GetCurrentRequestURL, GetHelpTopic, GetIsAccessStyleNonStandard, GetIsAccessStyleStandard, GetIsInPlaceRefreshDisplayOn, GetIsInPlaceRefreshEnabled, GetIsSecuredSpace, GetLanguage, GetLocale, GetModel, GetModelExists, GetModelsEnumerator, GetPage, GetPageExists, GetPagesEnumerator, GetParentSpace, GetParentSpaceID, GetParentSpaceName, GetPersistentSubSession, GetResourceManager, GetSpaceID, GetString, GetStyleSheetLinks, GetSubSession, GetSubSpace, GetSubSpaceExists, GetSubSpaceKey, GetSubSpacesEnumerator, GetTimeZone, GetUserSession, GetVarPack, GetView, GetViewExists, GetViewsEnumerator, IsSubSpace, refString, RegisterControl, RegisterControl, RegisterModel, RegisterModel, RegisterPage, RegisterPage, RegisterSubSpace, RegisterView, RegisterView, ReInit, SetApplication, SetCurrentFormData, SetCurrentHTTPRequestResponseObjects, SetCurrentRequestURL, SetHelpTopic, SetIsASSecured, SetIsInPlaceRefreshDisplayOn, SetIsInPlaceRefreshEnabled, SetOverWriteSubSpaces, SetParentSpace, SetPersistentSubSession, SetSpaceID, SetSubSession, SetSubSpaceKey, SetTrackCurrentPage, SetUserSession, unrefString, UnRegisterControl, UnRegisterModel, UnRegisterPage, UnRegisterView | 
 
| Methods inherited from class java.lang.Object | 
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
 
STR_MVC_CLASS_NAME
public static final java.lang.String STR_MVC_CLASS_NAME
- See Also:
 - Constant Field Values
 
strLockboxList
public static final java.lang.String strLockboxList
- See Also:
 - Constant Field Values
 
CredentialVaultManagerAS
public CredentialVaultManagerAS()
Create
public java.lang.Object Create()
- Description copied from class: 
AActivitySpace 
- This method is used by the ASManager to return new instances of managed
 objects.
- Specified by:
 Create in interface IManagedObject- Specified by:
 Create in class AActivitySpace
 
- Returns:
 - A new instance of the managed class (i.e. return new Foo();)
 - See Also:
 IManagedObject.Create()
 
 
GetEditorTitle
public java.lang.String GetEditorTitle()
- Returns the Editor title.
- Specified by:
 GetEditorTitle in class EditorAS
 
- Returns:
 - String
 
 
 
GetName
public java.lang.String GetName()
- Returns the Class name.
- Specified by:
 GetName in interface IMVCObject- Specified by:
 GetName in class AFormAS
 
- Returns:
 - String
 - See Also:
 IMVCObject.GetName()
 
 
GetRepostControlName
public java.lang.String GetRepostControlName()
- Returns the class name of the Repost Control.
- Specified by:
 GetRepostControlName in interface IFormAS- Overrides:
 GetRepostControlName in class PTEditorAS
 
- Returns:
 - String
 
 
 
CheckBasicAccess
public boolean CheckBasicAccess(java.lang.String strPage,
                                java.lang.String strControl,
                                boolean bSameSpace)
- Description copied from class: 
AActivitySpace 
- This method is called by the Interpreter at the beginning of every HTTP
 request to determine whether or not the current user has the security
 privileges necessary to view the requested page.
 This method is designed for checking whether or not a particular user has
 any access to the space, page, and control.  More detailed checking (of
 query string parameters, for instance), should be done in the
 IControl.CheckActionSecurityAndExecute() method.
 For Plumtree portal applications (IPTActivitySpaces), since the IPTSession
 is guaranteed to be set before Init() & CheckBasicAccess() are called, you
 can check access as follows:
 return (GetIPTSession().GetSessionInfo().CheckForActivityRight
         (new Integer(PT_ACTIVITY_RIGHTS.PT_ACTIVITY_RIGHT_ACCESS_ADMINISTRATION))
         == 1);
- Overrides:
 CheckBasicAccess in class EditorAS
 
- Returns:
 - boolean true implies access is allowed, false implies access is denied
 - See Also:
 com.plumtree.portaluiinfrastructure.activityspace.AActivitySpace#CheckBasicAccess(String, String, boolean)
 
 
Init
public void Init()
- Registers all the classes of the Activity Space.
- Overrides:
 Init in class EditorAS
 
- See Also:
 AActivitySpace.Init()
 
 
SetCurrentPage
public void SetCurrentPage(IDisplayPage page)
- Set the help page for this editor.
- Overrides:
 SetCurrentPage in class EditorAS
 
- Parameters:
 page - - See Also:
 AActivitySpace.SetCurrentPage(com.plumtree.uiinfrastructure.activityspace.IDisplayPage)