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, 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
public java.lang.String toString()
Return a String representation of this role in XML format.
toString
in interface java.security.Principal
toString
in class java.lang.Object
Copyright © 2000-2015 Apache Software Foundation. All Rights Reserved.