net.ontopia.topicmaps.nav2.realm
Class RolePrincipal

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

public class RolePrincipal
extends java.lang.Object
implements java.security.Principal, java.io.Serializable

See Also:
Serialized Form

Field Summary
static long serialVersionUID
           
 
Constructor Summary
RolePrincipal(java.lang.String name)
           
 
Method Summary
 boolean equals(java.lang.Object o)
           
 java.lang.String getName()
           
 int hashCode()
           
 java.lang.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

RolePrincipal

public RolePrincipal(java.lang.String name)
Method Detail

getName

public java.lang.String getName()
Specified by:
getName in interface java.security.Principal

toString

public java.lang.String toString()
Specified by:
toString in interface java.security.Principal
Overrides:
toString in class java.lang.Object

equals

public boolean equals(java.lang.Object o)
Specified by:
equals in interface java.security.Principal
Overrides:
equals in class java.lang.Object

hashCode

public int hashCode()
Specified by:
hashCode in interface java.security.Principal
Overrides:
hashCode in class java.lang.Object


Copyright © 2000-2012 Ontopia.