net.sf.jradius.security
Class JRadiusPrincipal

java.lang.Object
  extended by net.sf.jradius.security.JRadiusPrincipal
All Implemented Interfaces:
java.io.Serializable, java.security.Principal

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

JRadius JAAS Principal.

Author:
David Bird
See Also:
Serialized Form

Constructor Summary
JRadiusPrincipal(java.lang.String userName)
           
 
Method Summary
 boolean equals(java.lang.Object o)
           
 java.lang.String getName()
           
 int hashCode()
          Return a hash code for this JRadiusPrincipal.
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

JRadiusPrincipal

public JRadiusPrincipal(java.lang.String userName)
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()
Return a hash code for this JRadiusPrincipal.

Specified by:
hashCode in interface java.security.Principal
Overrides:
hashCode in class java.lang.Object
Returns:
a hash code for this JRadiusPrincipal.


Copyright © 2006 The JRadius Project, All Rights Reserved.