Package org.infinispan.security
Interface Role
-
public interface Role
A role to permission mapping.- Since:
- 7.0
- Author:
- Tristan Tarrant
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description int
getMask()
Returns a pre-computed access mask which contains the permissions specified by this rolejava.lang.String
getName()
Returns the name of this rolejava.util.Collection<AuthorizationPermission>
getPermissions()
Returns the list of permissions associated with this role
-
-
-
Method Detail
-
getName
java.lang.String getName()
Returns the name of this role
-
getPermissions
java.util.Collection<AuthorizationPermission> getPermissions()
Returns the list of permissions associated with this role
-
getMask
int getMask()
Returns a pre-computed access mask which contains the permissions specified by this role
-
-