| Modifier and Type | Field and Description | 
|---|---|
| protected String | descriptionThe description of this Role. | 
| protected String | rolenameThe role name of this Role. | 
| Constructor and Description | 
|---|
| AbstractRole() | 
| Modifier and Type | Method and Description | 
|---|---|
| String | getDescription()Return the description of this role. | 
| String | getName()Make the principal name the same as the role name. | 
| String | getRolename()Return the role name of this role, which must be unique
 within the scope of a  UserDatabase. | 
| abstract UserDatabase | getUserDatabase()Return the  UserDatabasewithin which this Role is defined. | 
| void | setDescription(String description)Set the description of this role. | 
| void | setRolename(String rolename)Set the role name of this role, which must be unique
 within the scope of a  UserDatabase. | 
protected String description
protected String rolename
public String getDescription()
getDescription in interface Rolepublic void setDescription(String description)
setDescription in interface Roledescription - The new descriptionpublic String getRolename()
UserDatabase.getRolename in interface RoleUserDatabase.public void setRolename(String rolename)
UserDatabase.setRolename in interface Rolerolename - The new role namepublic abstract UserDatabase getUserDatabase()
UserDatabase within which this Role is defined.getUserDatabase in interface RoleUserDatabase within which this Role is defined.Copyright © 2000-2020 Apache Software Foundation. All Rights Reserved.