org.apache.geronimo.security
Class PrimaryRealmPrincipal
java.lang.Object
org.apache.geronimo.security.RealmPrincipal
org.apache.geronimo.security.PrimaryRealmPrincipal
- All Implemented Interfaces:
- Principal, Serializable
- public class PrimaryRealmPrincipal
- extends RealmPrincipal
- Version:
- $Revision: 1.5 $ $Date: 2004/06/13 16:52:53 $
- See Also:
- Serialized Form
Method Summary |
boolean |
equals(Object another)
Compares this principal to the specified object. |
PrimaryRealmPrincipal
public PrimaryRealmPrincipal(String realm,
Principal principal)
equals
public boolean equals(Object another)
- Compares this principal to the specified object. Returns true
if the object passed in matches the principal represented by
the implementation of this interface.
- Specified by:
equals
in interface Principal
- Overrides:
equals
in class RealmPrincipal
- Parameters:
another
- principal to compare with.
- Returns:
- true if the principal passed in is the same as that
encapsulated by this principal, and false otherwise.
Copyright © 2003-2005 Apache Software Foundation. All Rights Reserved.