net.jradius.security
Class JRadiusPrincipal

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

public class JRadiusPrincipal
extends Object
implements Principal, Serializable

JRadius JAAS Principal.

Author:
David Bird
See Also:
Serialized Form

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

Constructor Detail

JRadiusPrincipal

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

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


Copyright © 2011 Coova Technologies, LLC, All Rights Reserved.