Modifier and Type | Field and Description |
---|---|
protected String |
description
The description of this Role.
|
protected String |
rolename
The 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
UserDatabase within 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 Role
public void setDescription(String description)
setDescription
in interface Role
description
- The new descriptionpublic String getRolename()
UserDatabase
.getRolename
in interface Role
UserDatabase
.public void setRolename(String rolename)
UserDatabase
.setRolename
in interface Role
rolename
- The new role namepublic abstract UserDatabase getUserDatabase()
UserDatabase
within which this Role is defined.getUserDatabase
in interface Role
UserDatabase
within which this Role is defined.Copyright © 2000-2021 Apache Software Foundation. All Rights Reserved.