Package org.skr.security
Class GhostJwtPrincipal
- java.lang.Object
-
- org.skr.security.GhostJwtPrincipal
-
- All Implemented Interfaces:
JwtPrincipal,UserPrincipal
public class GhostJwtPrincipal extends java.lang.Object implements JwtPrincipal
-
-
Constructor Summary
Constructors Constructor Description GhostJwtPrincipal()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetIdentity()Unique identity of this principal.java.lang.StringgetName()Human friendly user name for this principal.java.lang.BooleanisGhost()-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.skr.security.JwtPrincipal
getChainAccessToken
-
-
-
-
Method Detail
-
isGhost
public java.lang.Boolean isGhost()
- Specified by:
isGhostin interfaceJwtPrincipal
-
getIdentity
public java.lang.String getIdentity()
Description copied from interface:UserPrincipalUnique identity of this principal. Authentication services must be able to locate unique actual User principal via this identity.- Specified by:
getIdentityin interfaceUserPrincipal
-
getName
public java.lang.String getName()
Description copied from interface:UserPrincipalHuman friendly user name for this principal.- Specified by:
getNamein interfaceUserPrincipal
-
-