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, setRolename
protected MemoryUserDatabase database
MemoryUserDatabase
that owns this role.public UserDatabase getUserDatabase()
UserDatabase
within which this role is defined.getUserDatabase
in interface Role
getUserDatabase
in class AbstractRole
UserDatabase
within which this Role is defined.Copyright © 2000-2021 Apache Software Foundation. All Rights Reserved.