There are four enumerations to support portlet development in EGL.
These enumerations are used as arguments to and return values from
portalLib functions. Only a limited set of values are allowed.
- SessionScopeKind
- Specifies the PortletSession scope to be used by a portalLib function.
Unlike servlet sessions, PortletSessions are divided into two scopes.
PortletSession attributes that are contained in portletScope are available
only within the portlet that created the attribute. The attributes
in applicationScope are available to all portlets that are contained
within a single portal application. The following values are valid:
- applicationScope
- portletScope
- PortletModeKind
- Specifies a portlet mode, which is an indication of the function
that is being performed by the portlet. The following values are valid:
- editMode
- helpMode
- viewMode
- configMode
- editDefaultsMode
- WindowStateKind
- Indicates a window mode. The following values are valid:
- minimized
- maximized
- normal
- SecretKind
- Indicates the type of secret that can be stored in a credential
vault slot. Most of these values are not currently supported by portalLib
and are reserved for future use. portalLib functions can only interact
with passive credentials of type stringValues. The following values
are valid:
- undefined is a reserved value at this time, and should not be
used.
- stringValues means that the secret is a user ID/password combination.
This is the only directly supported slot type at this time.
- byteArray represents a secret provided as a byte array.
- javaObject secrets are passed as Java™ Objects
- noData represents Credentials that contain no secret.
- jaasSubject secrets are given as Java Authentication
and Authorization (JAAS) Subjects.