public class WebIdPrincipal
extends java.lang.Object
implements org.eclipse.microprofile.jwt.JsonWebToken
| Constructor and Description |
|---|
WebIdPrincipal(org.eclipse.microprofile.jwt.JsonWebToken jwt)
Create a WebID-based principal from a JWT.
|
| Modifier and Type | Method and Description |
|---|---|
<T> T |
getClaim(java.lang.String claim) |
java.util.Set<java.lang.String> |
getClaimNames() |
java.lang.String |
getName() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitpublic WebIdPrincipal(org.eclipse.microprofile.jwt.JsonWebToken jwt)
jwt - the JWTpublic <T> T getClaim(java.lang.String claim)
getClaim in interface org.eclipse.microprofile.jwt.JsonWebTokenpublic java.util.Set<java.lang.String> getClaimNames()
getClaimNames in interface org.eclipse.microprofile.jwt.JsonWebTokenpublic java.lang.String getName()
getName in interface java.security.PrincipalgetName in interface org.eclipse.microprofile.jwt.JsonWebToken