public class AuthenticationJWTClaimsSetAdapter extends java.lang.Object implements Authentication
JWTClaimsSet to Authentication.| Constructor and Description |
|---|
AuthenticationJWTClaimsSetAdapter(com.nimbusds.jwt.JWTClaimsSet claimSet) |
| Modifier and Type | Method and Description |
|---|---|
java.util.Map<java.lang.String,java.lang.Object> |
getAttributes()
In order to correctly implement the
Serializable specification, this map
should be Map<String, Serializable>, however that would place a burden on
those not requiring serialization, forcing their values to conform to that spec. |
java.lang.String |
getName() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitpublic AuthenticationJWTClaimsSetAdapter(@Nullable
com.nimbusds.jwt.JWTClaimsSet claimSet)
claimSet - JSON Web Token (JWT) claims set.@NonNull public java.util.Map<java.lang.String,java.lang.Object> getAttributes()
AuthenticationSerializable specification, this map
should be Map<String, Serializable>, however that would place a burden on
those not requiring serialization, forcing their values to conform to that spec.
This is left intentionally as Object in order to meet both use cases and those
requiring serialization must ensure all values in the map implement Serializable.getAttributes in interface Authentication@Nullable public java.lang.String getName()
getName in interface java.security.Principal