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
ThePrincipal
contributed by theRADIUS
authentication 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 boolean
equals(Object o)
Compares the specified Object with thisRADIUSPrincipal
for equality.String
getName()
Return the RADIUS username for thisRADIUSPrincipal
.int
hashCode()
Return a hash code for thisRADIUSPrincipal
.String
toString()
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 thisRADIUSPrincipal
for equality. Returns true if the given object is also aRADIUSPrincipal
and the two RADIUSPrincipals have the same username.
-
-