Class CacheRoleImpl

java.lang.Object
org.infinispan.security.impl.CacheRoleImpl
All Implemented Interfaces:
Role

@ProtoTypeId(1011) public class CacheRoleImpl extends Object implements Role
CacheRoleImpl.
Since:
7.0
Author:
Tristan Tarrant
  • Constructor Details

  • Method Details

    • getName

      public String getName()
      Description copied from interface: Role
      Returns the name of this role
      Specified by:
      getName in interface Role
    • getPermissions

      public Collection<AuthorizationPermission> getPermissions()
      Description copied from interface: Role
      Returns the list of permissions associated with this role
      Specified by:
      getPermissions in interface Role
    • getMask

      public int getMask()
      Description copied from interface: Role
      Returns a pre-computed access mask which contains the permissions specified by this role
      Specified by:
      getMask in interface Role
    • isInheritable

      public boolean isInheritable()
      Description copied from interface: Role
      Whether this role can be implicitly inherited.
      Specified by:
      isInheritable in interface Role
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object