A C D F G H I L N O P R S U V 
All Classes All Packages

A

AbstractIAMResponse - Class in org.gcube.common.iam
 
AbstractIAMResponse(D4ScienceIAMClient, TokenResponse) - Constructor for class org.gcube.common.iam.AbstractIAMResponse
 
authenticate(String, String) - Method in class org.gcube.common.iam.D4ScienceIAMClient
Authenticates the client with provided id and secret
authenticate(String, String, String) - Method in class org.gcube.common.iam.D4ScienceIAMClient
Authenticates the client with provided credentials, reducing the token audience to the requested `context`
authenticateUser(String, String) - Method in class org.gcube.common.iam.D4ScienceIAMClient
Deprecated.
this authn method is deprecated in the oauth2 specifications (see https://oauth.net/2/grant-types/password/)
authenticateUser(String, String, String) - Method in class org.gcube.common.iam.D4ScienceIAMClient
Deprecated.
this authn method is deprecated in the oauth2 specifications (see https://oauth.net/2/grant-types/password/)
authenticateUser(String, String, String, String) - Method in class org.gcube.common.iam.D4ScienceIAMClient
Deprecated.
this authn method is deprecated in the oauth2 specifications (see https://oauth.net/2/grant-types/password/)
authenticateUser(String, String, String, String, String) - Method in class org.gcube.common.iam.D4ScienceIAMClient
Deprecated.
this authn method is deprecated in the oauth2 specifications (see https://oauth.net/2/grant-types/password/)
authorize(String) - Method in class org.gcube.common.iam.D4ScienceIAMClientAuthn
Authorizes the client or the user by using the authn already obtained, for the specific context audience and no optional permissions.
authorize(String, String, String) - Method in class org.gcube.common.iam.D4ScienceIAMClient
Directly authorizes the client by using the provided credentials, for the specific context audience and with no optional permissions
authorize(String, String, String, List<String>) - Method in class org.gcube.common.iam.D4ScienceIAMClient
Directly authorizes the client by using the provided credentials, for the specific context audience and with optional permissions
authorize(String, List<String>) - Method in class org.gcube.common.iam.D4ScienceIAMClientAuthn
Authorizes the client or the user by using the authn already obtained, for the specific context audience and with optional permissions.

C

canBeRefreshed() - Method in class org.gcube.common.iam.AbstractIAMResponse
 
canBeRefreshed() - Method in interface org.gcube.common.iam.IAMResponse
Check if the current response can be refreshed
CLIENT_CONTACT_ORGANISATION - Static variable in class org.gcube.common.iam.D4ScienceCustomClaims
The registered contact organization of a client with service account
CLIENT_CONTACT_PERSON - Static variable in class org.gcube.common.iam.D4ScienceCustomClaims
The registered contact person of a client with service account
CLIENT_NAME - Static variable in class org.gcube.common.iam.D4ScienceCustomClaims
The display name of a client with service account

D

D4ScienceCustomClaims - Class in org.gcube.common.iam
 
D4ScienceCustomClaims() - Constructor for class org.gcube.common.iam.D4ScienceCustomClaims
 
D4ScienceIAMClient - Class in org.gcube.common.iam
Helper class that acts as IAM client providing authentication and authorization using the IAM hiding the underlying implementation
D4ScienceIAMClientAuthn - Class in org.gcube.common.iam
 
D4ScienceIAMClientAuthn(D4ScienceIAMClient, TokenResponse) - Constructor for class org.gcube.common.iam.D4ScienceIAMClientAuthn
 
D4ScienceIAMClientAuthn4Client - Class in org.gcube.common.iam
 
D4ScienceIAMClientAuthn4Client(D4ScienceIAMClient, String, String) - Constructor for class org.gcube.common.iam.D4ScienceIAMClientAuthn4Client
 
D4ScienceIAMClientAuthn4Client(D4ScienceIAMClient, String, String, String) - Constructor for class org.gcube.common.iam.D4ScienceIAMClientAuthn4Client
 
D4ScienceIAMClientAuthn4User - Class in org.gcube.common.iam
 
D4ScienceIAMClientAuthn4User(D4ScienceIAMClient, String, String, String, String) - Constructor for class org.gcube.common.iam.D4ScienceIAMClientAuthn4User
 
D4ScienceIAMClientAuthn4User(D4ScienceIAMClient, String, String, String, String, String) - Constructor for class org.gcube.common.iam.D4ScienceIAMClientAuthn4User
 
D4ScienceIAMClientAuthz - Class in org.gcube.common.iam
 
D4ScienceIAMClientAuthz(D4ScienceIAMClientAuthn, String, List<String>) - Constructor for class org.gcube.common.iam.D4ScienceIAMClientAuthz
 
D4ScienceIAMClientAuthz(D4ScienceIAMClient, String, String, String, List<String>) - Constructor for class org.gcube.common.iam.D4ScienceIAMClientAuthz
 
D4ScienceIAMClientException - Exception in org.gcube.common.iam
 
D4ScienceIAMClientException(String, Throwable) - Constructor for exception org.gcube.common.iam.D4ScienceIAMClientException
 
D4ScienceIAMClientException(Throwable) - Constructor for exception org.gcube.common.iam.D4ScienceIAMClientException
 

F

fromAccessTokenString(String) - Static method in class org.gcube.common.iam.OIDCBearerAuth
Constructs a new object from an OIDC base64 encoded access-token string.
fromAuthorizationHeader(String) - Static method in class org.gcube.common.iam.OIDCBearerAuth
Constructs a new object from an HTTP authorization header containing the bearer token with an OIDC access-token.
fromBearerAuthorization(String) - Static method in class org.gcube.common.iam.OIDCBearerAuth
Constructs a new object from a bearer token with an OIDC access-token.

G

getAccessToken() - Method in class org.gcube.common.iam.AbstractIAMResponse
 
getAccessToken() - Method in interface org.gcube.common.iam.IAMResponse
Returns the access token in the response.
getAccessTokenString() - Method in class org.gcube.common.iam.AbstractIAMResponse
 
getAccessTokenString() - Method in interface org.gcube.common.iam.IAMResponse
Returns the access token in the response as string.
getContactOrganization() - Method in class org.gcube.common.iam.AbstractIAMResponse
 
getContactOrganization() - Method in interface org.gcube.common.iam.IAMResponse
Returns the client's contact organization from the token
getContactPerson() - Method in class org.gcube.common.iam.AbstractIAMResponse
 
getContactPerson() - Method in interface org.gcube.common.iam.IAMResponse
Returns the client's contact person from the token
getContentType() - Method in exception org.gcube.common.iam.D4ScienceIAMClientException
 
getContextRoles() - Method in class org.gcube.common.iam.AbstractIAMResponse
 
getContextRoles() - Method in interface org.gcube.common.iam.IAMResponse
Returns the resource roles for the resource specified in the token context
getGlobalRoles() - Method in class org.gcube.common.iam.AbstractIAMResponse
 
getGlobalRoles() - Method in interface org.gcube.common.iam.IAMResponse
Returns the realm roles in the token
getIamClient() - Method in class org.gcube.common.iam.AbstractIAMResponse
 
getKeycloakClient() - Method in class org.gcube.common.iam.D4ScienceIAMClient
 
getName() - Method in class org.gcube.common.iam.AbstractIAMResponse
 
getName() - Method in interface org.gcube.common.iam.IAMResponse
Returns the client's name from the token
getRealmBaseURL() - Method in class org.gcube.common.iam.D4ScienceIAMClient
 
getRefreshTokenString() - Method in class org.gcube.common.iam.AbstractIAMResponse
 
getResourceRoles(String) - Method in class org.gcube.common.iam.AbstractIAMResponse
 
getResourceRoles(String) - Method in interface org.gcube.common.iam.IAMResponse
Returns the resource roles for the resource specified in the resource parameter
getResponseString() - Method in exception org.gcube.common.iam.D4ScienceIAMClientException
 
getRoles() - Method in class org.gcube.common.iam.AbstractIAMResponse
 
getRoles() - Method in interface org.gcube.common.iam.IAMResponse
Returns all the roles, realm and from all the resources in the token in the same set
getStatus() - Method in exception org.gcube.common.iam.D4ScienceIAMClientException
 
getTokenResponse() - Method in class org.gcube.common.iam.AbstractIAMResponse
 

H

hasJSONPayload() - Method in exception org.gcube.common.iam.D4ScienceIAMClientException
 

I

IAMResponse - Interface in org.gcube.common.iam
 
isAccessTokenValid() - Method in class org.gcube.common.iam.AbstractIAMResponse
 
isAccessTokenValid() - Method in interface org.gcube.common.iam.IAMResponse
Quick way to check if the access token is valid by checking the digital signature and the token expiration
isAccessTokenValid(boolean) - Method in class org.gcube.common.iam.AbstractIAMResponse
 
isAccessTokenValid(boolean) - Method in interface org.gcube.common.iam.IAMResponse
Quick way to check if the access token is valid by checking the digital signature and the token expiration if the checkExpiration parameter is true
isExpired() - Method in class org.gcube.common.iam.AbstractIAMResponse
 
isExpired() - Method in interface org.gcube.common.iam.IAMResponse
Check if the current response is expired
isRefreshTokenValid() - Method in class org.gcube.common.iam.AbstractIAMResponse
 
isRefreshTokenValid() - Method in interface org.gcube.common.iam.IAMResponse
Quick way to check if the refresh token present in the current response and it is valid by checking the digital signature and the token expiration
isRefreshTokenValid(boolean) - Method in class org.gcube.common.iam.AbstractIAMResponse
 
isRefreshTokenValid(boolean) - Method in interface org.gcube.common.iam.IAMResponse
Quick way to check if the refresh token present in the current response and it is valid by checking the digital signature and the token expiration if the checkExpiration parameter is true

L

logger - Static variable in class org.gcube.common.iam.D4ScienceIAMClient
 

N

newInstance(String) - Static method in class org.gcube.common.iam.D4ScienceIAMClient
Creates a new client for the specific context, in the default IAM realm.
newInstance(String, String) - Static method in class org.gcube.common.iam.D4ScienceIAMClient
Creates a new client for the specific context, in the default realm.
newInstance(URL) - Static method in class org.gcube.common.iam.D4ScienceIAMClient
Creates a new client with the provided base URL.

O

OIDCBearerAuth - Class in org.gcube.common.iam
 
OIDCBearerAuth(D4ScienceIAMClient, TokenResponse) - Constructor for class org.gcube.common.iam.OIDCBearerAuth
 
org.gcube.common.iam - package org.gcube.common.iam
 

P

performClientAuthn(D4ScienceIAMClient, String, String, String) - Static method in class org.gcube.common.iam.D4ScienceIAMClientAuthn4Client
 
performUserAuthn(D4ScienceIAMClient, String, String, String, String, String) - Static method in class org.gcube.common.iam.D4ScienceIAMClientAuthn4User
 

R

refresh() - Method in class org.gcube.common.iam.AbstractIAMResponse
 
refresh() - Method in interface org.gcube.common.iam.IAMResponse
Refreshes the current response, new data can be obtained again with accessors.

S

setDefaultGatewayClientID(String) - Static method in class org.gcube.common.iam.D4ScienceIAMClient
Sets the new default GW clientId used for all the queries to the IAM server.
setIamClient(D4ScienceIAMClient) - Method in class org.gcube.common.iam.AbstractIAMResponse
 
setTokenResponse(TokenResponse) - Method in class org.gcube.common.iam.AbstractIAMResponse
 

U

USE_DYNAMIC_SCOPES - Static variable in class org.gcube.common.iam.D4ScienceIAMClient
 

V

verifyAccessToken() - Method in class org.gcube.common.iam.AbstractIAMResponse
 
verifyAccessToken() - Method in interface org.gcube.common.iam.IAMResponse
Verifies the access token integrity and validity; token digital signature and expiration are reported via specific exceptions.
verifyRefreshToken() - Method in class org.gcube.common.iam.AbstractIAMResponse
 
verifyRefreshToken() - Method in interface org.gcube.common.iam.IAMResponse
Verifies the refresh token integrity and validity; token digital signature and expiration are reported via specific exceptions.
verifyToken(String) - Method in class org.gcube.common.iam.D4ScienceIAMClient
Verifies the token signature and expiration
A C D F G H I L N O P R S U V 
All Classes All Packages