Package org.gcube.service.idm.controller
Class AdminKeycloakController
- java.lang.Object
-
- org.gcube.service.idm.controller.AdminKeycloakController
-
public class AdminKeycloakController extends Object
-
-
Constructor Summary
Constructors Constructor Description AdminKeycloakController()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static org.keycloak.representations.idm.ClientRepresentationcreateClient(String id, String clientId, String name, String description, String rootUrl, String adminUrl, String baseUrl, Boolean surrogateAuthRequired, Boolean enabled, Boolean alwaysDisplayInConsole, String clientAuthenticatorType, String secret, String registrationAccessToken, List<String> redirectUris, List<String> webOrigins, Integer notBefore, Boolean bearerOnly, Boolean consentRequired, Boolean standardFlowEnabled, Boolean implicitFlowEnabled, Boolean directAccessGrantsEnabled, Boolean serviceAccountsEnabled, Boolean authorizationServicesEnabled, Boolean publicClient, Boolean frontchannelLogout, String protocol, Map<String,String> attributes, Map<String,String> authenticationFlowBindingOverrides, Boolean fullScopeAllowed, Integer nodeReRegistrationTimeout, Map<String,Integer> registeredNodes, List<org.keycloak.representations.idm.ProtocolMapperRepresentation> protocolMappers, List<String> defaultClientScopes, List<String> optionalClientScopes, String origin)static org.keycloak.representations.idm.ClientRepresentationcreateClient(org.keycloak.representations.idm.ClientRepresentation newClient)static org.keycloak.representations.idm.UserRepresentationcreateUser(String username, String email, String password, String firstName, String lastName, Map<String,List<String>> attributes, List<String> roles)
-
-
-
Method Detail
-
createUser
public static org.keycloak.representations.idm.UserRepresentation createUser(String username, String email, String password, String firstName, String lastName, Map<String,List<String>> attributes, List<String> roles) throws jakarta.ws.rs.WebApplicationException, ServerException
- Throws:
jakarta.ws.rs.WebApplicationExceptionServerException
-
createClient
public static org.keycloak.representations.idm.ClientRepresentation createClient(String id, String clientId, String name, String description, String rootUrl, String adminUrl, String baseUrl, Boolean surrogateAuthRequired, Boolean enabled, Boolean alwaysDisplayInConsole, String clientAuthenticatorType, String secret, String registrationAccessToken, List<String> redirectUris, List<String> webOrigins, Integer notBefore, Boolean bearerOnly, Boolean consentRequired, Boolean standardFlowEnabled, Boolean implicitFlowEnabled, Boolean directAccessGrantsEnabled, Boolean serviceAccountsEnabled, Boolean authorizationServicesEnabled, Boolean publicClient, Boolean frontchannelLogout, String protocol, Map<String,String> attributes, Map<String,String> authenticationFlowBindingOverrides, Boolean fullScopeAllowed, Integer nodeReRegistrationTimeout, Map<String,Integer> registeredNodes, List<org.keycloak.representations.idm.ProtocolMapperRepresentation> protocolMappers, List<String> defaultClientScopes, List<String> optionalClientScopes, String origin)
-
createClient
public static org.keycloak.representations.idm.ClientRepresentation createClient(org.keycloak.representations.idm.ClientRepresentation newClient)
-
-