org.apache.catalina.users

Class MemoryRole

public class MemoryRole extends AbstractRole

Concrete implementation of Role for the MemoryUserDatabase implementation of UserDatabase.

Since: 4.1

Version: $Revision: 467222 $ $Date: 2006-10-24 05:17:11 +0200 (Tue, 24 Oct 2006) $

Author: Craig R. McClanahan

Field Summary
protected MemoryUserDatabasedatabase
The MemoryUserDatabase that owns this role.
Method Summary
UserDatabasegetUserDatabase()
Return the UserDatabase within which this role is defined.
StringtoString()

Return a String representation of this role in XML format.

Field Detail

database

protected MemoryUserDatabase database
The MemoryUserDatabase that owns this role.

Method Detail

getUserDatabase

public UserDatabase getUserDatabase()
Return the UserDatabase within which this role is defined.

toString

public String toString()

Return a String representation of this role in XML format.

Copyright © 2000-2011 Apache Software Foundation. All Rights Reserved.