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. |
java.lang.String |
toString()
Return a String representation of this role in XML format.
|
getDescription, getName, getRolename, setDescription, setRolenameprotected final 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.public java.lang.String toString()
Return a String representation of this role in XML format.
toString in interface java.security.PrincipaltoString in class java.lang.ObjectCopyright © 2000-2019 Apache Software Foundation. All Rights Reserved.