Class AccessRoleController

  • All Implemented Interfaces:
    Serializable

    @Named
    @SessionScoped
    public class AccessRoleController
    extends Object
    implements Serializable
    This AccessRoleController supports the migration from the old txtgroups property in a userprofile to the new access roles.

    Since version 4.5.1 a list of fixed UserGroups is supported only.

    Author:
    rsoika
    See Also:
    Serialized Form
    • Field Detail

      • ACCESS_ROLES

        public static final String[] ACCESS_ROLES
    • Constructor Detail

      • AccessRoleController

        public AccessRoleController()
    • Method Detail

      • onWorkflowEvent

        public void onWorkflowEvent​(@Observes
                                    org.imixs.workflow.faces.data.WorkflowEvent workflowEvent)
        WorkflowEvent listener to update the current FormDefinition.
        Parameters:
        workflowEvent -
        Throws:
        org.imixs.workflow.exceptions.AccessDeniedException
        org.imixs.workflow.exceptions.ModelException
      • setUserRole

        public void setUserRole​(String role)
      • getUserRole

        public String getUserRole()
      • getAccessRoles

        public String[] getAccessRoles()