Package io.helidon.microprofile.jwt.auth
Class JsonWebTokenImpl
java.lang.Object
io.helidon.microprofile.jwt.auth.JsonWebTokenImpl
- All Implemented Interfaces:
Principal
,AbacSupport
,Principal
,JsonWebToken
@Deprecated(forRemoval=true,
since="2.4.0")
public class JsonWebTokenImpl
extends Object
implements JsonWebToken, Principal
Deprecated, for removal: This API element is subject to removal in a future version.
this class will not be public in future versions of Helidon
Implementation of
JsonWebToken
with additional support of AbacSupport
.-
Nested Class Summary
Nested classes/interfaces inherited from interface io.helidon.security.util.AbacSupport
AbacSupport.BasicAttributes
Nested classes/interfaces inherited from interface io.helidon.security.Principal
Principal.Builder
-
Constructor Summary
ModifierConstructorDescriptionprotected
Deprecated, for removal: This API element is subject to removal in a future version. -
Method Summary
Modifier and TypeMethodDescriptionDeprecated, for removal: This API element is subject to removal in a future version.A collection of all property names in this container.abacAttributeRaw
(String key) Deprecated, for removal: This API element is subject to removal in a future version.Return the actual property value or null if not present.<T> T
Deprecated, for removal: This API element is subject to removal in a future version.<T> T
Deprecated, for removal: This API element is subject to removal in a future version.This class will no longer be public in future versionsDeprecated, for removal: This API element is subject to removal in a future version.getName()
Deprecated, for removal: This API element is subject to removal in a future version.id()
Deprecated, for removal: This API element is subject to removal in a future version.Id of this principal.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface io.helidon.security.util.AbacSupport
abacAttribute
Methods inherited from interface org.eclipse.microprofile.jwt.JsonWebToken
claim, claim, containsClaim, getAudience, getClaim, getExpirationTime, getGroups, getIssuedAtTime, getIssuer, getRawToken, getSubject, getTokenID
-
Constructor Details
-
JsonWebTokenImpl
protected JsonWebTokenImpl()Deprecated, for removal: This API element is subject to removal in a future version.
-
-
Method Details
-
getName
Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
getName
in interfaceJsonWebToken
- Specified by:
getName
in interfacePrincipal
-
getClaimNames
Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
getClaimNames
in interfaceJsonWebToken
-
getClaim
Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
getClaim
in interfaceJsonWebToken
-
id
Deprecated, for removal: This API element is subject to removal in a future version.Description copied from interface:Principal
Id of this principal. -
abacAttributeRaw
Deprecated, for removal: This API element is subject to removal in a future version.Description copied from interface:AbacSupport
Return the actual property value or null if not present. This is the only method that needs to be implemented.- Specified by:
abacAttributeRaw
in interfaceAbacSupport
- Parameters:
key
- key (name) of the property- Returns:
- value of the property or null
-
abacAttributeNames
Deprecated, for removal: This API element is subject to removal in a future version.Description copied from interface:AbacSupport
A collection of all property names in this container.- Specified by:
abacAttributeNames
in interfaceAbacSupport
- Returns:
- collection of keys
-
getClaim
Deprecated, for removal: This API element is subject to removal in a future version.This class will no longer be public in future versionsProduce a claim based on its name and expected class.- Type Parameters:
T
- type- Parameters:
claimName
- name of the claimclazz
- expected type- Returns:
- claim value
-