public interface Role
extends java.security.Principal
Abstract representation of a security role, suitable for use in
environments like JAAS that want to deal with Principals.
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getDescription() |
java.lang.String |
getRolename() |
UserDatabase |
getUserDatabase() |
void |
setDescription(java.lang.String description)
Set the description of this role.
|
void |
setRolename(java.lang.String rolename)
Set the role name of this role, which must be unique
within the scope of a
UserDatabase. |
java.lang.String getDescription()
void setDescription(java.lang.String description)
description - The new descriptionjava.lang.String getRolename()
UserDatabase.void setRolename(java.lang.String rolename)
UserDatabase.rolename - The new role nameUserDatabase getUserDatabase()
UserDatabase within which this Role is defined.Copyright © 2000-2019 Apache Software Foundation. All Rights Reserved.