Uses of Class
org.simexid.keycloak.exception.AuthorizationException
Packages that use AuthorizationException
-
Uses of AuthorizationException in org.simexid.keycloak.service
Methods in org.simexid.keycloak.service that throw AuthorizationExceptionModifier and TypeMethodDescriptionboolean
KeycloakUtil.addRoleToUser
(KeycloakEnum.SearchUserType searchUserType, String searchText, String role, KeycloakEnum.Type type, String clientUUID) Adds a role to a user in Keycloak.boolean
Adds attributes to a user in Keycloak.boolean
KeycloakUtil.authorized()
Authorizes the client with Keycloak.boolean
KeycloakUtil.callForAddAttributes
(String sub, String payload) Calls Keycloak to add/remove (rewrite) attributes to a user.boolean
KeycloakUtil.callForAddRole
(String sub, String payload, KeycloakEnum.Type type, String clientUUID) Calls Keycloak to add/remove (rewrite) a role to a user.boolean
KeycloakUtil.deleteRoleToUser
(KeycloakEnum.SearchUserType searchUserType, String searchText, String role, KeycloakEnum.Type type, String clientUUID) Deletes a role from a user in Keycloak.boolean
KeycloakUtil.deleteUserAttributes
(String sub, List<String> attributes) Deletes attributes from a user in Keycloak.KeycloakUtil.getToken()
Get the current keycloak token and expirationKeycloakUtil.getUserInfo
(String sub) Retrieves the user information from Keycloak.KeycloakUtil.retrieveUserRole
(String sub, KeycloakEnum.Type type, String clientUIID) Retrieves the roles of a user in Keycloak.KeycloakUtil.searchRoles
(String name, KeycloakEnum.Type type, String clientUUID) Searches for roles in Keycloak.KeycloakUtil.searchUser
(KeycloakEnum.SearchUserType searchUserType, String searchText) Searches for a user in Keycloak.boolean
KeycloakUtil.updateUser
(String sub, SSOUser user) Updates a user in Keycloak.