net.ontopia.topicmaps.nav2.realm
Class UserPrincipal

java.lang.Object
  extended by net.ontopia.topicmaps.nav2.realm.UserPrincipal
All Implemented Interfaces:
Serializable, Principal

public class UserPrincipal
extends Object
implements Principal, Serializable

See Also:
Serialized Form

Field Summary
static long serialVersionUID
           
 
Constructor Summary
UserPrincipal(String name)
           
 
Method Summary
 boolean equals(Object o)
           
 String getName()
           
 int hashCode()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

serialVersionUID

public static final long serialVersionUID
See Also:
Constant Field Values
Constructor Detail

UserPrincipal

public UserPrincipal(String name)
Method Detail

getName

public String getName()
Specified by:
getName in interface Principal

toString

public String toString()
Specified by:
toString in interface Principal
Overrides:
toString in class Object

equals

public boolean equals(Object o)
Specified by:
equals in interface Principal
Overrides:
equals in class Object

hashCode

public int hashCode()
Specified by:
hashCode in interface Principal
Overrides:
hashCode in class Object


Copyright © 2000-2012 Ontopia.