Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migration of unmigrated content due to installation of a new plugin

...

In the above example, the input (called someInput) can be found by looking at the request (HttpServletRequest, PortletRequest, etc.) for a variable called someInput. Then, throughout the rest of the action sequence, specific actions can reference that input.

Security Inputs

Pentaho BI Platform extends the inputs to provide a unique type of input--the security input. This input (as of this writing) supports the following input names:

Input Name

Type

Description

principalName

string

The name of the currently authenticated user.

principalRoles

string-list

The roles that the currently authenticated user is a member of.

principalAuthenticated

string

true if the user is authenticated, false otherwise.

principalAdministrator

string

true if the user is considered a Pentaho Administrator, false otherwise.

systemRoleNames

string-list

All the known roles in the system. Use caution since this list could be quite long.

systemUserNames

string-list

All the users known to the system. Use caution since this list could be quite long.

Example

The following input section will get the list of the user's roles, and make it available to all the actions in the action sequence:

...