tyrex.security.container
public final class RealmPrincipal extends Object implements Principal, Serializable
Version: $Revision: 1.5 $ $Date: 2001/03/19 17:39:02 $
Field Summary | |
---|---|
static RealmPrincipal | ANYONE
The principal 'anyone' indicates an unknown prinicipal. |
Constructor Summary | |
---|---|
RealmPrincipal(String name, String realm)
Construct a new realm principal.
|
Method Summary | |
---|---|
boolean | equals(Object object) |
String | getName()
Returns the name of the principal.
|
String | getRealm()
Returns the realm of the prinicipal. |
int | hashCode() |
String | toString() |
Parameters: name The principal's name realm The prinicipal's realm, null if not known
Returns: The prinicipal's name
Returns: The principal's realm or null