APIs used by the System Management Portal. More...
Static Public Member Functions | |
_.Library.Boolean | AllowDirectory (_.Library.String dir) |
This method will allow the given directory (and its descendants) to be visible. More... | |
_.Library.Integer | CheckLinkAccess (_.Library.String link) |
CheckLinkAccess determines whether the target user is permitted. More... | |
ClearDirectories () | |
This method will clear the set of directories that are visible by the. More... | |
_.Library.Boolean | GetAllowedDirectories (dirs) |
This method will retrieve the set of root directories that are visible. More... | |
RemoveDirectory (_.Library.String dir) | |
This method will remove the given directory from the set of root directories that. More... | |
_.Library.Boolean | RestrictDirectories (_.Library.Boolean flag) |
If flag is true then the <Class>ZEN.Dialog.fileSelect</Class> page will only. More... | |
Static Private Member Functions | |
_.Library.Status | AddFavorite (_.Library.String pName, _.Library.String pLink) |
Add item to favorites list. | |
_.Library.Boolean | CheckCustomResource (_.Library.String pURL) |
Check the custom resource (if any) assigned to a given URL. More... | |
_.Library.Status | ClearFavoriteItems (_.Library.String pUser) |
Delete favorite item list for given user. More... | |
_.Library.Status | ClearRecentItems (_.Library.String pUser) |
Delete recent item list for given user. More... | |
_.Library.String | GetCustomResource (_.Library.String pID) |
Get the custom resource assigned to a given id (url). More... | |
_.Library.Status | GetCustomResourceList (_.Library.String pList) |
Return a list of all currently used custom resource names. | |
_.Library.Status | GetFavoritesForUser (pFavorites) |
Return the current favorites list for the current user: More... | |
_.Library.Status | GetNamespaceList (_.Library.String pNamespaces) |
Get a list of namespaces which the current user may access. More... | |
_.Library.Status | GetRecentItemsForUser (pItems) |
Return the recent items list for the current user: More... | |
_.Library.Boolean | IsAutoRefreshEnabled () |
Helper method to indicate whether pages in the management portal are allowed to perform. More... | |
_.Library.Status | RegisterRecentItem (_.Library.String pName, _.Library.String pURL) |
Add this item to the recent item list. | |
_.Library.Status | RemoveFavoriteItem (_.Library.String pName) |
Delete a favorite item for the current user. | |
_.Library.Status | RemoveRecentItem (_.Library.String pName) |
Delete a recent item for the current user. | |
_.Library.Status | SetCustomResource (_.Library.String pID, _.Library.String pResource) |
Set the custom resource assigned to a given id (url). More... | |
Additional Inherited Members | |
![]() | |
_.Library.Status | OnAddToSaveSet (_.Library.Integer depth, _.Library.Integer insert, _.Library.Integer callcount) |
This callback method is invoked when the current object is added to the SaveSet,. More... | |
_.Library.Status | OnClose () |
This callback method is invoked by the <METHOD>Close</METHOD> method to. More... | |
_.Library.Status | OnConstructClone (_.Library.RegisteredObject object, _.Library.Boolean deep, _.Library.String cloned) |
This callback method is invoked by the <METHOD>ConstructClone</METHOD> method to. More... | |
_.Library.Status | OnNew () |
This callback method is invoked by the <METHOD>New</METHOD> method to. More... | |
_.Library.Status | OnValidateObject () |
This callback method is invoked by the <METHOD>ValidateObject</METHOD> method to. More... | |
![]() | |
CAPTION = None | |
Optional name used by the Form Wizard for a class when generating forms. More... | |
JAVATYPE = None | |
The Java type to be used when exported. | |
PROPERTYVALIDATION = None | |
This parameter controls the default validation behavior for the object. More... | |
APIs used by the System Management Portal.
|
staticprivate |
Check the custom resource (if any) assigned to a given URL.
Note that pURL should be URL-encoded.
|
staticprivate |
Delete favorite item list for given user.
If user is not specified, delete all items.
|
staticprivate |
Delete recent item list for given user.
If user is not specified, delete all items.
|
staticprivate |
Get the custom resource assigned to a given id (url).
Note that pID should be URL-encoded.
|
staticprivate |
Return the current favorites list for the current user:
pItems(n) = $LB(name,date,url)
|
staticprivate |
Get a list of namespaces which the current user may access.
pNamespaces is returned as an array with the following structure: pNamespaces("NAMESPACE") = $lb(enabled,remote)
|
staticprivate |
Return the recent items list for the current user:
pItems(n) = $LB(name,date,url)
These are reset on system restart.
|
staticprivate |
Helper method to indicate whether pages in the management portal are allowed to perform.
automatic refreshes that poll the server.
|
staticprivate |
Set the custom resource assigned to a given id (url).
Note that pID should be URL-encoded.
|
static |
This method will allow the given directory (and its descendants) to be visible.
by the <Class>ZEN.Dialog.fileSelect</Class> page. If the set of directories was previously unrestricted, and if the restriction was not explicitly disabled by calling <Method>RestrictDirectories</Method> then only this directory and its descendants will be visible. If the specified directory is invalid or does not exist, this method will return 0 (false), and no change is made.
|
static |
CheckLinkAccess determines whether the target user is permitted.
to view a given CSP or Zen page based on the security requirements for the relevant target Web application, the underlying page class, and any custom resources applied to the link.
Returns 0 if the link is not to a csp application. (enable)
Returns 1 if the user is permitted access to the page. (enable)
Returns 2 if could not determine Target User. Clicking on link will bring up login page. (choice: enable or disable)
Returns 3 if the user doesn't have access to the CSP application.(disable)
Returns 4 if the user doesn't have resources specific to the page.(disable)
This method is meant to be called from the link's containing page within the context of the CSP server. The containing page is part of a source application.
We must be able to detemine which target user will be used to check privileges. The target user cannot be determined if the source and target applications are different and the target is neither part of an active by-id group nor sharing-sessions with the source application.
Applications share sessions when:
Since this is called from with a CSP session, there are the following situations:
Check Resources:
If the Target User can access the Target Page's Resources after escalating roles from the Target Application, return ENABLE/UNKNOWN. Else return NO_PAGE_ACCESS.
|
static |
This method will clear the set of directories that are visible by the.
<Class>ZEN.Dialog.fileSelect</Class> page. After this all directories available to the system will be visible in the fileSelect page.
|
static |
This method will retrieve the set of root directories that are visible.
by the <Class>ZEN.Dialog.fileSelect</Class> page. If the system is configured to restrict the directories that are visible the method will return 1 (true) and dirs will contain the set of root directories. Otherwise it will return 0 (false), and all directories will be visible.
|
static |
This method will remove the given directory from the set of root directories that.
are visible by the <Class>ZEN.Dialog.fileSelect</Class> page. If the given directory was not previously configured as an available root directory, this will have no effect.
|
static |
If flag is true then the <Class>ZEN.Dialog.fileSelect</Class> page will only.
allow navigation to the set of directories configured by <Method>AddDirectory</Method>. If no directories are configured, then the fileSelect page will not display any files.
If flag is false, then the fileSelect page will allow navigation to all files. The set of directories configured by <Method>AddDirectory</Method> (if any) is not removed. Return 1 (true) if we were previously configured to use restricted directories, 0 (false) otherwise.