Package org.eclipse.jetty.jaas
Class JAASPrincipal
- java.lang.Object
-
- org.eclipse.jetty.jaas.JAASPrincipal
-
- All Implemented Interfaces:
java.io.Serializable
,java.security.Principal
- Direct Known Subclasses:
JAASRole
public class JAASPrincipal extends java.lang.Object implements java.security.Principal, java.io.Serializable
JAASPrincipalImpl class of Principal interface.
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description JAASPrincipal(java.lang.String userName)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object p)
java.lang.String
getName()
int
hashCode()
java.lang.String
toString()
-
-
-
Method Detail
-
equals
public boolean equals(java.lang.Object p)
- Specified by:
equals
in interfacejava.security.Principal
- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
- Specified by:
hashCode
in interfacejava.security.Principal
- Overrides:
hashCode
in classjava.lang.Object
-
getName
public java.lang.String getName()
- Specified by:
getName
in interfacejava.security.Principal
-
toString
public java.lang.String toString()
- Specified by:
toString
in interfacejava.security.Principal
- Overrides:
toString
in classjava.lang.Object
-
-