Index

A C G I J K O P S T U 
All Classes and Interfaces|All Packages|Constant Field Values

A

AccessTokenSecret - Class in org.gcube.common.security.secrets
The secret of an access token of the D4Science IAM, exchanged for a token of a Context.
AccessTokenSecret(String, String) - Constructor for class org.gcube.common.security.secrets.AccessTokenSecret
Creates the secret exchanging the access token for a token of the Context.

C

CredentialSecret - Class in org.gcube.common.security.secrets
 
CredentialSecret(String, String, String) - Constructor for class org.gcube.common.security.secrets.CredentialSecret
 

G

GCUBE_SECRET_PRIORITY - Static variable in class org.gcube.common.security.secrets.GCubeSecret
Deprecated.
 
GCUBE_TOKEN_REGEX - Static variable in class org.gcube.common.security.secrets.GCubeSecret
Deprecated.
 
GCubeSecret - Class in org.gcube.common.security.secrets
Deprecated.
the legacy gcube-token is no longer accepted by SmartGears 4: use JWTSecret for a token of the D4Science IAM, or AccessTokenSecret/CredentialSecret to obtain one
GCubeSecret(String) - Constructor for class org.gcube.common.security.secrets.GCubeSecret
Deprecated.
 
getContext() - Method in class org.gcube.common.security.secrets.AccessTokenSecret
 
getContext() - Method in class org.gcube.common.security.secrets.CredentialSecret
 
getContext() - Method in class org.gcube.common.security.secrets.GCubeSecret
Deprecated.
 
getContext() - Method in class org.gcube.common.security.secrets.JWTSecret
Returns the Context named in the audience of the token.
getEncodedToken() - Method in class org.gcube.common.security.secrets.JWTSecret
Returns the encoded token.
getEncodedUmaToken() - Method in class org.gcube.common.security.secrets.UmaTokenSecret
getHTTPAuthorizationHeaders() - Method in class org.gcube.common.security.secrets.AccessTokenSecret
 
getHTTPAuthorizationHeaders() - Method in class org.gcube.common.security.secrets.CredentialSecret
 
getHTTPAuthorizationHeaders() - Method in class org.gcube.common.security.secrets.GCubeSecret
Deprecated.
 
getHTTPAuthorizationHeaders() - Method in class org.gcube.common.security.secrets.JWTSecret
 
getOwner() - Method in class org.gcube.common.security.secrets.AccessTokenSecret
 
getOwner() - Method in class org.gcube.common.security.secrets.CredentialSecret
 
getOwner() - Method in class org.gcube.common.security.secrets.GCubeSecret
Deprecated.
 
getOwner() - Method in class org.gcube.common.security.secrets.JWTSecret
Returns the owner named in the token.
getTrustedIssuers() - Static method in class org.gcube.common.security.secrets.JWTSecret
Returns the IAM realms whose tokens are accepted.

I

initialised - Variable in class org.gcube.common.security.secrets.AccessTokenSecret
 
initialised - Variable in class org.gcube.common.security.secrets.CredentialSecret
 
isExpired() - Method in class org.gcube.common.security.secrets.AccessTokenSecret
Tells whether the token of the Context expires within AccessTokenSecret.TOLERANCE.
isExpired() - Method in class org.gcube.common.security.secrets.CredentialSecret
 
isExpired() - Method in class org.gcube.common.security.secrets.GCubeSecret
Deprecated.
 
isExpired() - Method in class org.gcube.common.security.secrets.JWTSecret
 
isValid() - Method in class org.gcube.common.security.secrets.AccessTokenSecret
 
isValid() - Method in class org.gcube.common.security.secrets.CredentialSecret
 
isValid() - Method in class org.gcube.common.security.secrets.GCubeSecret
Deprecated.
 
isValid() - Method in class org.gcube.common.security.secrets.JWTSecret
Tells whether the token is issued by a trusted IAM realm and its signature is verified with the key of that realm.

J

JWTSecret - Class in org.gcube.common.security.secrets
A JSON Web Token issued by the D4Science IAM, e.g. the bearer token a service receives in the Authorization header.
JWTSecret(String) - Constructor for class org.gcube.common.security.secrets.JWTSecret
Creates the secret of an encoded token.

K

KEYCLOAK_BASED_SECRET_PRIORITY - Static variable in class org.gcube.common.security.secrets.JWTSecret
Priority of the secrets based on the tokens of the IAM.
KEYCLOAK_BASED_SECRET_PRIORITY - Static variable in class org.gcube.common.security.secrets.UmaTokenSecret
Deprecated.
Priority of the secrets based on the tokens of the IAM.

O

org.gcube.common.security.secrets - package org.gcube.common.security.secrets
 

P

priority() - Method in class org.gcube.common.security.secrets.AccessTokenSecret
 
priority() - Method in class org.gcube.common.security.secrets.CredentialSecret
 
priority() - Method in class org.gcube.common.security.secrets.GCubeSecret
Deprecated.
 
priority() - Method in class org.gcube.common.security.secrets.JWTSecret
 

S

setTrustedIssuers(Collection<String>) - Static method in class org.gcube.common.security.secrets.JWTSecret
Sets the IAM realms whose tokens are accepted, for the whole JVM.

T

TOLERANCE - Static variable in class org.gcube.common.security.secrets.AccessTokenSecret
The interval of time expressed in milliseconds used as guard to refresh the token before that it expires: a token that expires within this interval is considered expired.

U

UmaTokenSecret - Class in org.gcube.common.security.secrets
Deprecated.
use JWTSecret, which behaves the same
UmaTokenSecret(String) - Constructor for class org.gcube.common.security.secrets.UmaTokenSecret
Deprecated.
Creates the secret of an encoded token.
A C G I J K O P S T U 
All Classes and Interfaces|All Packages|Constant Field Values