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 final 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
Copyright © 2000-2014 Apache Software Foundation. All Rights Reserved.