Interface Role

All Known Implementing Classes:
CacheRoleImpl

public interface Role
A role to permission mapping.
Since:
7.0
Author:
Tristan Tarrant
  • Method Details Link icon

    • getName Link icon

      String getName()
      Returns the name of this role
    • getPermissions Link icon

      Returns the list of permissions associated with this role
    • getMask Link icon

      int getMask()
      Returns a pre-computed access mask which contains the permissions specified by this role
    • isInheritable Link icon

      boolean isInheritable()
      Whether this role can be implicitly inherited.
    • getDescription Link icon

      String getDescription()
      A description for the role.
    • isImplicit Link icon

      boolean isImplicit()
      If this role is part of the implicit authorization configuration
    • newRole Link icon

      static Role newRole(String name, String description, boolean isImplicit, boolean inheritable, AuthorizationPermission... authorizationPermissions)