Constructor and Description |
---|
CacheRoleImpl(String name,
AuthorizationPermission... authorizationPermissions) |
CacheRoleImpl(String name,
Set<AuthorizationPermission> permissions) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
int |
getMask()
Returns a pre-computed access mask which contains the permissions specified by this role
|
String |
getName()
Returns the name of this role
|
Collection<AuthorizationPermission> |
getPermissions()
Returns the list of permissions associated with this role
|
int |
hashCode() |
String |
toString() |
public CacheRoleImpl(String name, AuthorizationPermission... authorizationPermissions)
public CacheRoleImpl(String name, Set<AuthorizationPermission> permissions)
public String getName()
Role
public Collection<AuthorizationPermission> getPermissions()
Role
getPermissions
in interface Role
public int getMask()
Role
Copyright © 2021 JBoss by Red Hat. All rights reserved.