public class DefaultJWTCallerPrincipal extends JWTCallerPrincipal
JwtClaims| Constructor and Description |
|---|
DefaultJWTCallerPrincipal(org.jose4j.jwt.JwtClaims claimsSet) |
DefaultJWTCallerPrincipal(String tokenType,
org.jose4j.jwt.JwtClaims claimsSet) |
DefaultJWTCallerPrincipal(String rawToken,
String tokenType,
org.jose4j.jwt.JwtClaims claimsSet)
Create the DefaultJWTCallerPrincipal from the parsed JWT token and the extracted principal name
|
| Modifier and Type | Method and Description |
|---|---|
protected Collection<String> |
doGetClaimNames() |
protected Set<String> |
filterCustomClaimNames(Collection<String> claimNames)
Determine the custom claims in the set
|
Set<String> |
getAudience() |
protected Object |
getClaimValue(String claimName) |
Set<String> |
getGroups() |
protected static String |
getRawToken(org.jose4j.jwt.JwtClaims claimsSet) |
protected void |
replaceClaimValueWithJsonValue(String name) |
getClaim, getClaimNames, getClaimType, getName, implies, toString, toString, wrapClaimValueclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic DefaultJWTCallerPrincipal(String rawToken, String tokenType, org.jose4j.jwt.JwtClaims claimsSet)
rawToken - - raw token valuetokenType - - token typeclaimsSet - - Jose4J claims setpublic DefaultJWTCallerPrincipal(String tokenType, org.jose4j.jwt.JwtClaims claimsSet)
public DefaultJWTCallerPrincipal(org.jose4j.jwt.JwtClaims claimsSet)
protected static String getRawToken(org.jose4j.jwt.JwtClaims claimsSet)
protected Collection<String> doGetClaimNames()
doGetClaimNames in class JWTCallerPrincipalprotected Object getClaimValue(String claimName)
getClaimValue in class JWTCallerPrincipalprotected Set<String> filterCustomClaimNames(Collection<String> claimNames)
claimNames - - the current set of claim names in this tokenprotected void replaceClaimValueWithJsonValue(String name)
Copyright © 2018–2021. All rights reserved.