Class UmaTokenSecret
java.lang.Object
org.gcube.common.security.secrets.Secret
org.gcube.common.security.secrets.JWTSecret
org.gcube.common.security.secrets.UmaTokenSecret
Deprecated.
The former name of
JWTSecret: the token is a JWT of the D4Science IAM, with no UMA flow.- Author:
- Luca Frosini (ISTI - CNR)
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intDeprecated.Priority of the secrets based on the tokens of the IAM. -
Constructor Summary
ConstructorsConstructorDescriptionUmaTokenSecret(String encodedUmaToken) Deprecated.Creates the secret of an encoded token. -
Method Summary
Methods inherited from class org.gcube.common.security.secrets.JWTSecret
getContext, getEncodedToken, getHTTPAuthorizationHeaders, getOwner, getTrustedIssuers, isExpired, isValid, priority, setTrustedIssuers
-
Field Details
-
KEYCLOAK_BASED_SECRET_PRIORITY
public static final int KEYCLOAK_BASED_SECRET_PRIORITYDeprecated.Priority of the secrets based on the tokens of the IAM.- See Also:
-
-
Constructor Details
-
UmaTokenSecret
Deprecated.Creates the secret of an encoded token.- Parameters:
encodedUmaToken- the encoded JWT
-
-
Method Details
-
getEncodedUmaToken
Deprecated.Returns the encoded token.- Returns:
- the encoded JWT
-
JWTSecret, which behaves the same