Class RADIUSPrincipal
- java.lang.Object
-
- com.sun.identity.authentication.modules.radius.RADIUSPrincipal
-
- All Implemented Interfaces:
Serializable,Principal
public class RADIUSPrincipal extends Object implements Principal, Serializable
ThePrincipalcontributed by theRADIUSauthentication module upon successful authentication of the user.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description RADIUSPrincipal(String name)Contruct a new instance.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)Compares the specified Object with thisRADIUSPrincipalfor equality.StringgetName()Return the RADIUS username for thisRADIUSPrincipal.inthashCode()Return a hash code for thisRADIUSPrincipal.StringtoString()Return a string representation of thisRADIUSPrincipal.
-
-
-
Constructor Detail
-
RADIUSPrincipal
public RADIUSPrincipal(String name)
Contruct a new instance.- Parameters:
name- the name of the principal
-
-
Method Detail
-
getName
public String getName()
Return the RADIUS username for thisRADIUSPrincipal.
-
toString
public String toString()
Return a string representation of thisRADIUSPrincipal.
-
equals
public boolean equals(Object o)
Compares the specified Object with thisRADIUSPrincipalfor equality. Returns true if the given object is also aRADIUSPrincipaland the two RADIUSPrincipals have the same username.
-
-