public class Pac4JPrincipal
extends java.lang.Object
implements java.security.Principal
Principal based on a pac4j
UserProfile.
It determines the name based on the profile's username, and fallbacks to id
if it doesn't exist.| Constructor and Description |
|---|
Pac4JPrincipal(CommonProfile profile) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object o) |
java.lang.String |
getName() |
int |
hashCode() |
java.lang.String |
toString() |
public Pac4JPrincipal(CommonProfile profile)
public java.lang.String getName()
getName in interface java.security.Principalpublic int hashCode()
hashCode in interface java.security.PrincipalhashCode in class java.lang.Objectpublic boolean equals(java.lang.Object o)
equals in interface java.security.Principalequals in class java.lang.Objectpublic java.lang.String toString()
toString in interface java.security.PrincipaltoString in class java.lang.ObjectCopyright © 2019. All Rights Reserved.