public class MemoryRole extends AbstractRole
Concrete implementation of Role for the
MemoryUserDatabase implementation of UserDatabase.
| Modifier and Type | Field and Description |
|---|---|
protected MemoryUserDatabase |
database
The
MemoryUserDatabase that owns this role. |
description, rolename| Modifier and Type | Method and Description |
|---|---|
UserDatabase |
getUserDatabase()
Return the
UserDatabase within which this role is defined. |
String |
toString()
Return a String representation of this role in XML format.
|
getDescription, getName, getRolename, setDescription, setRolenameprotected MemoryUserDatabase database
MemoryUserDatabase that owns this role.public UserDatabase getUserDatabase()
UserDatabase within which this role is defined.getUserDatabase in interface RolegetUserDatabase in class AbstractRoleUserDatabase within which this Role is defined.Copyright © 2000-2020 Apache Software Foundation. All Rights Reserved.