public final class JsonWebTokenImpl extends Object implements org.eclipse.microprofile.jwt.JsonWebToken, Principal
JsonWebToken with additional support of AbacSupport.Principal.BuilderAbacSupport.BasicAttributes| Modifier and Type | Method and Description |
|---|---|
Collection<String> |
abacAttributeNames()
A collection of all property names in this container.
|
Object |
abacAttributeRaw(String key)
Return the actual property value or null if not present.
|
<T> T |
getClaim(String claimName) |
<T> T |
getClaim(String claimName,
Class<T> clazz)
Produce a claim based on its name and expected class.
|
Set<String> |
getClaimNames() |
String |
getName() |
String |
id()
Id of this principal.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitclaim, containsClaim, getAudience, getExpirationTime, getGroups, getIssuedAtTime, getIssuer, getRawToken, getSubject, getTokenIDabacAttributepublic String getName()
public Set<String> getClaimNames()
getClaimNames in interface org.eclipse.microprofile.jwt.JsonWebTokenpublic <T> T getClaim(String claimName)
getClaim in interface org.eclipse.microprofile.jwt.JsonWebTokenpublic <T> T getClaim(String claimName, Class<T> clazz)
T - typeclaimName - name of the claimclazz - expected typepublic Object abacAttributeRaw(String key)
AbacSupportabacAttributeRaw in interface AbacSupportkey - key (name) of the propertypublic Collection<String> abacAttributeNames()
AbacSupportabacAttributeNames in interface AbacSupportCopyright © 2018–2019 Oracle and/or its affiliates. All rights reserved. Use is subject to license terms.