|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectedu.internet2.middleware.shibboleth.idp.authn.UsernamePrincipal
public class UsernamePrincipal
A basic implementation of Principal.
| Field Summary | |
|---|---|
private String |
name
Name of the principal. |
private static long |
serialVersionUID
Serial version UID. |
| Constructor Summary | |
|---|---|
UsernamePrincipal(String principalName)
Constructor. |
|
| Method Summary | |
|---|---|
boolean |
equals(Object obj)
|
String |
getName()
|
int |
hashCode()
|
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
private static final long serialVersionUID
private String name
| Constructor Detail |
|---|
public UsernamePrincipal(String principalName)
principalName - name of the principal| Method Detail |
|---|
public String getName()
getName in interface Principalpublic String toString()
toString in interface PrincipaltoString in class Objectpublic int hashCode()
hashCode in interface PrincipalhashCode in class Objectpublic boolean equals(Object obj)
equals in interface Principalequals in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||