Uses of Class
org.gcube.common.keycloak.KeycloakClientException
Packages that use KeycloakClientException
-
Uses of KeycloakClientException in org.gcube.common.keycloak
Methods in org.gcube.common.keycloak that return KeycloakClientExceptionModifier and TypeMethodDescriptionstatic KeycloakClientExceptionstatic KeycloakClientExceptionKeycloakClientException.create(String message, int status, String contentType, String textResponse, Exception cause) Methods in org.gcube.common.keycloak that throw KeycloakClientExceptionModifier and TypeMethodDescriptionDefaultKeycloakClient.computeIntrospectionEndpointURL(URL tokenEndpointURL) KeycloakClient.computeIntrospectionEndpointURL(URL tokenEndpointURL) Compute the keycloakintrospectionendpointURLstarting from the provided token endpoint.protected TokenResponseDefaultKeycloakClient.exchangeToken(URL tokenURL, String oidcAccessToken, String clientId, String clientSecret, String audience, String requestedTokenType, String scope) Queries from the OIDC server an exchanged token by using provided access token, for the given audience (context), in URLEncoded form or not,DefaultKeycloakClient.exchangeTokenForAccessToken(String context, String oidcAccessToken, String clientId, String clientSecret, String audience) DefaultKeycloakClient.exchangeTokenForAccessToken(URL tokenURL, String oidcAccessToken, String clientId, String clientSecret, String audience) KeycloakClient.exchangeTokenForAccessToken(String context, String oidcAccessToken, String clientId, String clientSecret, String audience) Exchanges a token for another access token for a specific client and a specific audienceKeycloakClient.exchangeTokenForAccessToken(URL tokenURL, String oidcAccessToken, String clientId, String clientSecret, String audience) Exchanges a token for another access token for a specific client and a specific audienceDefaultKeycloakClient.exchangeTokenForOfflineToken(String context, String oidcAccessToken, String clientId, String clientSecret, String audience) DefaultKeycloakClient.exchangeTokenForOfflineToken(URL tokenURL, String oidcAccessToken, String clientId, String clientSecret, String audience) KeycloakClient.exchangeTokenForOfflineToken(String context, String oidcAccessToken, String clientId, String clientSecret, String audience) Exchanges a token for another access and an offline refresh tokens for a specific client and a specific audience The refresh token will be of the offline type only if the original token has theoffline_accesswithin its scopesKeycloakClient.exchangeTokenForOfflineToken(URL tokenURL, String oidcAccessToken, String clientId, String clientSecret, String audience) Exchanges a token for another access and an offline refresh tokens for a specific client and a specific audience The refresh token will be of the offline type only if the original token has the scopeoffline_accesswithin its scopesDefaultKeycloakClient.exchangeTokenForRefreshToken(String context, String oidcAccessToken, String clientId, String clientSecret, String audience) DefaultKeycloakClient.exchangeTokenForRefreshToken(URL tokenURL, String oidcAccessToken, String clientId, String clientSecret, String audience) KeycloakClient.exchangeTokenForRefreshToken(String context, String oidcAccessToken, String clientId, String clientSecret, String audience) Exchanges a token for another access and a refresh tokens for a specific client and a specific audienceKeycloakClient.exchangeTokenForRefreshToken(URL tokenURL, String oidcAccessToken, String clientId, String clientSecret, String audience) Exchanges a token for another access and a refresh tokens for a specific client and a specific audiencebyte[]DefaultKeycloakClient.getAvatarData(String context, TokenResponse tokenResponse) byte[]DefaultKeycloakClient.getAvatarData(URL avatarURL, String authorization) byte[]DefaultKeycloakClient.getAvatarData(URL avatarURL, TokenResponse tokenResponse) byte[]KeycloakClient.getAvatarData(String context, TokenResponse tokenResponse) Retrieves the user's avatar image data from Keycloak server.byte[]KeycloakClient.getAvatarData(URL avatarURL, String authorization) Retrieves the user's avatar image data from Keycloak server.byte[]KeycloakClient.getAvatarData(URL avatarURL, TokenResponse tokenResponse) Retrieves the user's avatar image data from Keycloak server.DefaultKeycloakClient.getAvatarEndpointURL(URL realmBaseURL) KeycloakClient.getAvatarEndpointURL(URL realmBaseURL) Constructs the KeycloakavatarendpointURLfrom the realm's base URL.DefaultKeycloakClient.getIntrospectionEndpointURL(URL realmBaseURL) KeycloakClient.getIntrospectionEndpointURL(URL realmBaseURL) Constructs the KeycloakintrospectionendpointURLfrom the realm's base URL.DefaultKeycloakClient.getJWKEndpointURL(URL realmBaseURL) KeycloakClient.getJWKEndpointURL(URL realmBaseURL) Constructs the KeycloakJWKendpointURLfrom the realm's base URL.DefaultKeycloakClient.getRealmBaseURL(String context) DefaultKeycloakClient.getRealmBaseURL(String context, String realm) KeycloakClient.getRealmBaseURL(String context) Returns the Keycloak baseURLfor the given context and the default realm (d4science)KeycloakClient.getRealmBaseURL(String context, String realm) Returns the Keycloak baseURLfor the given context and in the given realm.DefaultKeycloakClient.getRealmInfo(URL realmURL) KeycloakClient.getRealmInfo(URL realmURL) Gets the realm info setup (RSApublic_key,token-serviceURL,account-serviceURL andtokens-not-beforesetting)DefaultKeycloakClient.getRealmJSONWebKeySet(URL jwkURL) KeycloakClient.getRealmJSONWebKeySet(URL jwkURL) Loads the actual JWK from the Keycloak serverDefaultKeycloakClient.getTokenEndpointURL(URL realmBaseURL) KeycloakClient.getTokenEndpointURL(URL realmBaseURL) Constructs the KeycloaktokenendpointURLfrom the realm's base URL.static TokenResponseKeycloakClientHelper.getTokenForUser(String context, String username, String password) Gets a newTokenResponse, containing theAccessTokenand theRefreshTokenfrom the Keycloak server in the environment of the context represented by thecontextparameter.DefaultKeycloakClient.introspectAccessToken(String context, String clientId, String clientSecret, String accessTokenJWTString) DefaultKeycloakClient.introspectAccessToken(URL introspectionURL, String clientId, String clientSecret, String accessTokenJWTString) KeycloakClient.introspectAccessToken(String context, String clientId, String clientSecret, String accessTokenJWTString) Introspects an access token against the Keycloak server.KeycloakClient.introspectAccessToken(URL introspectionURL, String clientId, String clientSecret, String accessTokenJWTString) Introspects an access token against the Keycloak server.booleanDefaultKeycloakClient.isAccessTokenVerified(String context, String clientId, String clientSecret, String accessTokenJWTString) booleanDefaultKeycloakClient.isAccessTokenVerified(URL introspectionURL, String clientId, String clientSecret, String accessTokenJWTString) booleanKeycloakClient.isAccessTokenVerified(String context, String clientId, String clientSecret, String accessTokenJWTString) Verifies an access token against the Keycloak server.booleanKeycloakClient.isAccessTokenVerified(URL introspectionURL, String clientId, String clientSecret, String accessTokenJWTString) Verifies an access token against the Keycloak server.protected <T> TDefaultKeycloakClient.performRequest(Class<T> returnObjectClass, URL url, Map<String, String> headers, Map<String, List<String>> params) protected TokenResponseDefaultKeycloakClient.performRequest(URL tokenURL, Map<String, String> headers, Map<String, List<String>> params) DefaultKeycloakClient.queryOIDCToken(String context, String authorization) DefaultKeycloakClient.queryOIDCToken(String context, String clientId, String clientSecret) DefaultKeycloakClient.queryOIDCToken(String context, String clientId, String clientSecret, Map<String, String> extraHeaders) DefaultKeycloakClient.queryOIDCToken(String context, String authorization, Map<String, String> extraHeaders) DefaultKeycloakClient.queryOIDCToken(URL tokenURL, String authorization) DefaultKeycloakClient.queryOIDCToken(URL tokenURL, String clientId, String clientSecret) DefaultKeycloakClient.queryOIDCToken(URL tokenURL, String clientId, String clientSecret, Map<String, String> extraHeaders) DefaultKeycloakClient.queryOIDCToken(URL tokenURL, String authorization, Map<String, String> extraHeaders) KeycloakClient.queryOIDCToken(String context, String authorization) Queries an OIDC token from the Keycloak server, by using provided authorization.KeycloakClient.queryOIDCToken(String context, String clientId, String clientSecret) Queries an OIDC token from the context's Keycloak server, by using provided clientId and client secret.KeycloakClient.queryOIDCToken(String context, String clientId, String clientSecret, Map<String, String> extraHeaders) Queries an OIDC token from the context's Keycloak server, by using provided clientId and client secret.KeycloakClient.queryOIDCToken(String context, String authorization, Map<String, String> extraHeaders) Queries an OIDC token from the Keycloak server, by using provided authorization.KeycloakClient.queryOIDCToken(URL tokenURL, String authorization) Queries an OIDC token from the Keycloak server, by using provided authorization.KeycloakClient.queryOIDCToken(URL tokenURL, String clientId, String clientSecret) Queries an OIDC token from the Keycloak server, by using provided clientId and client secret.KeycloakClient.queryOIDCToken(URL tokenURL, String clientId, String clientSecret, Map<String, String> extraHeaders) Queries an OIDC token from the Keycloak server, by using provided clientId and client secret.Queries an OIDC token from the Keycloak server, by using provided authorization.DefaultKeycloakClient.queryOIDCTokenOfUser(String context, String clientId, String clientSecret, String username, String password) DefaultKeycloakClient.queryOIDCTokenOfUser(String context, String clientId, String clientSecret, String username, String password, Map<String, String> extraHeaders) KeycloakClient.queryOIDCTokenOfUser(String context, String clientId, String clientSecret, String username, String password) Queries an OIDC token for a specific user from the context's Keycloak server, by using provided clientId and client secret and user's username and password.KeycloakClient.queryOIDCTokenOfUser(String context, String clientId, String clientSecret, String username, String password, Map<String, String> extraHeaders) Queries an OIDC token for a specific user from the context's Keycloak server, by using provided clientId and client secret and user's username and password.DefaultKeycloakClient.queryOIDCTokenOfUserWithContext(String context, String authorization, String username, String password, String audience) DefaultKeycloakClient.queryOIDCTokenOfUserWithContext(String context, String clientId, String clientSecret, String username, String password, String audience) DefaultKeycloakClient.queryOIDCTokenOfUserWithContext(String context, String clientId, String clientSecret, String username, String password, String audience, Map<String, String> extraHeaders) DefaultKeycloakClient.queryOIDCTokenOfUserWithContext(String context, String authorization, String username, String password, String audience, Map<String, String> extraHeaders) DefaultKeycloakClient.queryOIDCTokenOfUserWithContext(URL tokenURL, String authorization, String username, String password, String audience) DefaultKeycloakClient.queryOIDCTokenOfUserWithContext(URL tokenURL, String clientId, String clientSecret, String username, String password, String audience) DefaultKeycloakClient.queryOIDCTokenOfUserWithContext(URL tokenURL, String clientId, String clientSecret, String username, String password, String audience, Map<String, String> extraHeaders) DefaultKeycloakClient.queryOIDCTokenOfUserWithContext(URL tokenURL, String authorization, String username, String password, String audience, Map<String, String> extraHeaders) KeycloakClient.queryOIDCTokenOfUserWithContext(String context, String authorization, String username, String password, String audience) Queries an OIDC token for a specific user from the context's Keycloak server, by using provided clientId and client secret and user's username and password.KeycloakClient.queryOIDCTokenOfUserWithContext(String context, String clientId, String clientSecret, String username, String password, String audience) Queries an OIDC token for a specific user from the Keycloak server, by using provided clientId and client secret and user's username and password, reducing the audience to the requested one.KeycloakClient.queryOIDCTokenOfUserWithContext(String context, String clientId, String clientSecret, String username, String password, String audience, Map<String, String> extraHeaders) Queries an OIDC token for a specific user from the Keycloak server, by using provided clientId and client secret and user's username and password, reducing the audience to the requested one.KeycloakClient.queryOIDCTokenOfUserWithContext(String context, String authorization, String username, String password, String audience, Map<String, String> extraHeaders) Queries an OIDC token for a specific user from the context's Keycloak server, by using provided clientId and client secret and user's username and password.KeycloakClient.queryOIDCTokenOfUserWithContext(URL tokenURL, String authorization, String username, String password, String audience) Queries an OIDC token for a specific user from the context's Keycloak server, by using provided clientId and client secret and user's username and password.KeycloakClient.queryOIDCTokenOfUserWithContext(URL tokenURL, String clientId, String clientSecret, String username, String password, String audience) Queries an OIDC token for a specific user from the context's Keycloak server, by using provided clientId and client secret and user's username and password, reducing the audience to the requested one.KeycloakClient.queryOIDCTokenOfUserWithContext(URL tokenURL, String clientId, String clientSecret, String username, String password, String audience, Map<String, String> extraHeaders) Queries an OIDC token for a specific user from the context's Keycloak server, by using provided clientId and client secret and user's username and password, , reducing the audience to the requested one.KeycloakClient.queryOIDCTokenOfUserWithContext(URL tokenURL, String authorization, String username, String password, String audience, Map<String, String> extraHeaders) Queries an OIDC token for a specific user from the context's Keycloak server, by using provided clientId and client secret and user's username and password.DefaultKeycloakClient.queryOIDCTokenWithContext(String context, String authorization, String audience) DefaultKeycloakClient.queryOIDCTokenWithContext(String context, String clientId, String clientSecret, String audience) DefaultKeycloakClient.queryOIDCTokenWithContext(String context, String clientId, String clientSecret, String audience, Map<String, String> extraHeaders) DefaultKeycloakClient.queryOIDCTokenWithContext(String context, String authorization, String audience, Map<String, String> extraHeaders) DefaultKeycloakClient.queryOIDCTokenWithContext(URL tokenURL, String authorization, String audience) DefaultKeycloakClient.queryOIDCTokenWithContext(URL tokenURL, String clientId, String clientSecret, String audience) DefaultKeycloakClient.queryOIDCTokenWithContext(URL tokenURL, String clientId, String clientSecret, String audience, Map<String, String> extraHeaders) DefaultKeycloakClient.queryOIDCTokenWithContext(URL tokenURL, String authorization, String audience, Map<String, String> extraHeaders) KeycloakClient.queryOIDCTokenWithContext(String context, String authorization, String audience) Queries an OIDC token from the Keycloak server, by using provided authorization, reducing the audience to the requested one.KeycloakClient.queryOIDCTokenWithContext(String context, String clientId, String clientSecret, String audience) Queries an OIDC token from the context's Keycloak server, by using provided clientId and client secret, reducing the audience to the requested one.KeycloakClient.queryOIDCTokenWithContext(String context, String clientId, String clientSecret, String audience, Map<String, String> extraHeaders) Queries an OIDC token from the context's Keycloak server, by using provided clientId and client secret, reducing the audience to the requested one.KeycloakClient.queryOIDCTokenWithContext(String context, String authorization, String audience, Map<String, String> extraHeaders) Queries an OIDC token from the Keycloak server, by using provided authorization, reducing the audience to the requested one.KeycloakClient.queryOIDCTokenWithContext(URL tokenURL, String authorization, String audience) Queries an OIDC token from the Keycloak server, by using provided authorization, reducing the audience to the requested one.KeycloakClient.queryOIDCTokenWithContext(URL tokenURL, String clientId, String clientSecret, String audience) Queries an OIDC token from the Keycloak server, by using provided clientId and client secret, reducing the audience to the requested one.KeycloakClient.queryOIDCTokenWithContext(URL tokenURL, String clientId, String clientSecret, String audience, Map<String, String> extraHeaders) Queries an OIDC token from the Keycloak server, by using provided clientId and client secret, reducing the audience to the requested one.KeycloakClient.queryOIDCTokenWithContext(URL tokenURL, String authorization, String audience, Map<String, String> extraHeaders) Queries an OIDC token from the Keycloak server, by using provided authorization, reducing the audience to the requested one.DefaultKeycloakClient.queryUMAToken(String context, String clientId, String clientSecret, String audience, List<String> permissions) DefaultKeycloakClient.queryUMAToken(String context, String authorization, String audience, List<String> permissions) DefaultKeycloakClient.queryUMAToken(String context, TokenResponse oidcTokenResponse, String audience, List<String> permissions) DefaultKeycloakClient.queryUMAToken(URL tokenURL, String clientId, String clientSecret, String audience, List<String> permissions) DefaultKeycloakClient.queryUMAToken(URL tokenURL, String authorization, String audience, List<String> permissions) DefaultKeycloakClient.queryUMAToken(URL tokenURL, TokenResponse oidcTokenResponse, String audience, List<String> permissions) KeycloakClient.queryUMAToken(String context, String clientId, String clientSecret, String audience, List<String> permissions) Queries an UMA token from the Keycloak server, by using provided clientId and client secret for the given audience (context), in URLEncoded form or not, and optionally a list of permissions.KeycloakClient.queryUMAToken(String context, String authorization, String audience, List<String> permissions) Queries an UMA token from the Keycloak server, by using provided authorization, for the given audience (context), in URLEncoded form or not, and optionally a list of permissions.KeycloakClient.queryUMAToken(String context, TokenResponse oidcTokenResponse, String audience, List<String> permissions) Queries an UMA token from the Keycloak server, by using access-token provided by theTokenResponseobject for the given audience (context), in URLEncoded form or not, and optionally a list of permissions.KeycloakClient.queryUMAToken(URL tokenURL, String clientId, String clientSecret, String audience, List<String> permissions) Queries an UMA token from the Keycloak server, by using provided clientId and client secret for the given audience (context), in URLEncoded form or not, and optionally a list of permissions.KeycloakClient.queryUMAToken(URL tokenURL, String authorization, String audience, List<String> permissions) Queries an UMA token from the Keycloak server, by using provided authorization, for the given audience (context), in URLEncoded form or not, and optionally a list of permissions.KeycloakClient.queryUMAToken(URL tokenURL, TokenResponse oidcTokenResponse, String audience, List<String> permissions) Queries an UMA token from the Keycloak server, by using access-token provided by theTokenResponseobject for the given audience (context), in URLEncoded form or not, and optionally a list of permissions.DefaultKeycloakClient.refreshToken(String context, String clientId, String clientSecret, String refreshTokenJWTString) DefaultKeycloakClient.refreshToken(String context, String clientId, String clientSecret, TokenResponse tokenResponse) DefaultKeycloakClient.refreshToken(String context, TokenResponse tokenResponse) DefaultKeycloakClient.refreshToken(URL tokenURL, String clientId, String clientSecret, String refreshTokenJWTString) DefaultKeycloakClient.refreshToken(URL tokenURL, String clientId, String clientSecret, TokenResponse tokenResponse) DefaultKeycloakClient.refreshToken(URL tokenURL, TokenResponse tokenResponse) KeycloakClient.refreshToken(String context, String clientId, String clientSecret, String refreshTokenJWTString) Refreshes a previously issued token from the Keycloak server by using the client id and secret and the refresh token JWT encoded string obtained with the access token in the previous token response.KeycloakClient.refreshToken(String context, String clientId, String clientSecret, TokenResponse tokenResponse) Refreshes a previously issued token from the Keycloak server using the refresh token JWT encoded string in the token response object and the provided client id and secret.KeycloakClient.refreshToken(String context, TokenResponse tokenResponse) Refreshes a previously issued token from the Keycloak server using the refresh token JWT encoded string in the token response object.KeycloakClient.refreshToken(URL tokenURL, String clientId, String clientSecret, String refreshTokenJWTString) Refreshes a previously issued token from the Keycloak server by using the client id and secret and the refresh token JWT encoded string obtained with the access token in the previous token response.KeycloakClient.refreshToken(URL tokenURL, String clientId, String clientSecret, TokenResponse tokenResponse) Refreshes a previously issued token from the Keycloak server using the refresh token JWT encoded string in the token response object and the provided client id and secret.KeycloakClient.refreshToken(URL tokenURL, TokenResponse tokenResponse) Refreshes a previously issued token from the Keycloak server using the refresh token JWT encoded string in the token response object.