Interface GlobalPrivilege

    • Field Detail

      • VERSION_GLOBALPRIVILEGE

        static final com.redwood.scheduler.infrastructure.logging.Versions VERSION_GLOBALPRIVILEGE
      • PRIVILEGE_SHELL

        static final String PRIVILEGE_SHELL
        Name of the privilege for access to the browser-based shell.
        See Also:
        Constant Field Values
      • PRIVILEGE_PLSQL_SET_ANY_USER

        static final String PRIVILEGE_PLSQL_SET_ANY_USER
        Name of the privilege for calling jcs.setuser/jcs.use_known_password for another user (and impersonate this user) via the PL/SQL API.
        See Also:
        Constant Field Values
      • PRIVILEGE_CONFIGURE_NETWORK

        static final String PRIVILEGE_CONFIGURE_NETWORK
        Name of the privilege for configuring network settings.
        See Also:
        Constant Field Values
      • PRIVILEGE_CONFIGURE_PLATFORM

        static final String PRIVILEGE_CONFIGURE_PLATFORM
        Name of the privilege for configuring platform settings. These settings usually require access to the underlying application server or operating system.
        See Also:
        Constant Field Values
      • PRIVILEGE_CONFIGURE_SCHEDULER

        static final String PRIVILEGE_CONFIGURE_SCHEDULER
        Name of the privilege for configuring system-level scheduler settings.
        See Also:
        Constant Field Values
      • PRIVILEGE_DEFAULT_NAVIGATION_BAR

        static final String PRIVILEGE_DEFAULT_NAVIGATION_BAR
        Name of the privilege for access to the default navigation bar.
        See Also:
        Constant Field Values
      • PRIVILEGE_JOB_DEFINITION_PARAMETERS

        static final String PRIVILEGE_JOB_DEFINITION_PARAMETERS
        Name of the privilege for access to job definition parameters.
        See Also:
        Constant Field Values
      • PRIVILEGE_LICENSE_MANAGEMENT

        static final String PRIVILEGE_LICENSE_MANAGEMENT
        Name of the privilege for access to license management.
        See Also:
        Constant Field Values
      • PRIVILEGE_HOUSEKEEPING_DASHBOARD

        static final String PRIVILEGE_HOUSEKEEPING_DASHBOARD
        Name of the privilege to access the housekeeping dashboard.
        See Also:
        Constant Field Values
      • PRIVILEGE_CONFIGURE_HOUSEKEEPING_DASHBOARD

        static final String PRIVILEGE_CONFIGURE_HOUSEKEEPING_DASHBOARD
        Name of the privilege to configure the housekeeping dashboard.
        See Also:
        Constant Field Values
      • PRIVILEGE_MONITORING_DASHBOARD

        static final String PRIVILEGE_MONITORING_DASHBOARD
        Name of the privilege to access the monitoring dashboard.
        See Also:
        Constant Field Values
      • PRIVILEGE_CONFIGURE_MONITORING_DASHBOARD

        static final String PRIVILEGE_CONFIGURE_MONITORING_DASHBOARD
        Name of the privilege to configure the monitoring dashboard.
        See Also:
        Constant Field Values
      • PRIVILEGE_CONFIGURE_PUBLISHED_WEBSERVICES

        static final String PRIVILEGE_CONFIGURE_PUBLISHED_WEBSERVICES
        Name of the privilege for configuring published webservices.
        See Also:
        Constant Field Values
      • PRIVILEGE_REDWOOD_SCRIPT

        static final String PRIVILEGE_REDWOOD_SCRIPT
        Name of the privilege for access to RedwoodScript.
        See Also:
        Constant Field Values
      • PRIVILEGE_SYSTEM_DYNAMIC_TRACE

        static final String PRIVILEGE_SYSTEM_DYNAMIC_TRACE
        Name of the privilege for 'submit' privilege rank on the System_DynamicTrace job.
        See Also:
        Constant Field Values
      • PRIVILEGE_SYSTEM_SUPPORT

        static final String PRIVILEGE_SYSTEM_SUPPORT
        Name of the privilege to access the system support utilities.
        See Also:
        Constant Field Values
      • PRIVILEGE_SUPPORT_FILES_GET

        static final String PRIVILEGE_SUPPORT_FILES_GET
        Name of the privilege to enable the retrieval of support files.
        See Also:
        Constant Field Values
      • PRIVILEGE_PORTAL_ADMINISTRATION

        static final String PRIVILEGE_PORTAL_ADMINISTRATION
        Name of the privilege to enable the performance of administrative tasks on the support portal.
        See Also:
        Constant Field Values
      • PRIVILEGE_USER_ADMINISTRATION

        static final String PRIVILEGE_USER_ADMINISTRATION
        Name of the privilege to enable the administration of users and roles.
        See Also:
        Constant Field Values
      • PRIVILEGE_USER_VOICE

        static final String PRIVILEGE_USER_VOICE
        Name of the privilege to enable Redwood Customer Voice (User Voice).
        See Also:
        Constant Field Values
      • PRIVILEGE_APP_ADMINISTRATOR

        static final String PRIVILEGE_APP_ADMINISTRATOR
        Name of the privilege that allows a user to install signed apps.
        See Also:
        Constant Field Values
      • PRIVILEGE_EXTERNALLY_AVAILABLE_CREDENTIAL

        static final String PRIVILEGE_EXTERNALLY_AVAILABLE_CREDENTIAL
        Name of the privilege to change the Externally Modified attribute on Credentials.
        See Also:
        Constant Field Values
      • PRIVILEGE_OBJECTSEARCH

        static final String PRIVILEGE_OBJECTSEARCH
        Name of the privilege to access Object Search.
        See Also:
        Constant Field Values
      • PRIVILEGE_CHANGE_OWNER

        static final String PRIVILEGE_CHANGE_OWNER
        Name of the privilege to change the owner using the setOwner operation.
        See Also:
        Constant Field Values
      • SEC_PRIV_CHANGEACTIVATION

        static final String SEC_PRIV_CHANGEACTIVATION
        This privilege can be granted at a group level. This privilege can be granted at an instance level.
        See Also:
        Constant Field Values
      • SEC_RANK_ALL

        static final String SEC_RANK_ALL
        This rank is made of the following privileges: changeActivation
        See Also:
        Constant Field Values
    • Method Detail

      • isActivated

        boolean isActivated()
        Get the value for Activated. (Everyone has global privileges that are not activated (activated = false). Once activated, users that want to use a feature governed by the privilege must have it granted to one of their roles.)
        Returns:
        the field
        Throws:
        ObjectNotAttachedToSessionException - This will be thrown if this method is called while the object is not attached to a session.
      • setActivated

        void setActivated​(boolean newActivated)
        Set the value for Activated. (Everyone has global privileges that are not activated (activated = false). Once activated, users that want to use a feature governed by the privilege must have it granted to one of their roles.)
        Parameters:
        newActivated - the new value for Activated.
        Throws:
        ObjectNotAttachedToSessionException - This will be thrown if this method is called while the object is not attached to a session.
      • getSubjectGlobalPrivilegeGrantByGranteeSubject

        SubjectGlobalPrivilegeGrant getSubjectGlobalPrivilegeGrantByGranteeSubject​(Subject granteeSubject)
        Get the SubjectGlobalPrivilegeGrant by SubjectGlobalPrivilegeLevelGrant.
        Parameters:
        granteeSubject -
        Returns:
        the SubjectGlobalPrivilegeGrant, or null if it could not be found
      • checkChangeActivationPrivilege

        RequiredPermission checkChangeActivationPrivilege()
        Check whether or not the changeActivation action can be performed on this object.
        Returns:
        a RequiredPermission instance indicating whether the current user has the privilege. To check this, use isAllowed() on the returned permission.