public class JWTAuthenticationToken extends Object implements org.apache.shiro.authc.AuthenticationToken
AuthenticationToken inside Shiro.| Constructor and Description |
|---|
JWTAuthenticationToken(com.nimbusds.jwt.SignedJWT jwtObject) |
| Modifier and Type | Method and Description |
|---|---|
Object |
getCredentials() |
Object |
getPrincipal()
Extracts the user from the jwt token
|
public JWTAuthenticationToken(com.nimbusds.jwt.SignedJWT jwtObject)
public Object getPrincipal()
getPrincipal in interface org.apache.shiro.authc.AuthenticationTokenpublic Object getCredentials()
getCredentials in interface org.apache.shiro.authc.AuthenticationTokenCopyright © 2016–2019 AdroitLogic. All rights reserved.