Package io.phasetwo.service.resource
Class IdentityProvidersResource
java.lang.Object
io.phasetwo.service.resource.AbstractAdminResource<OrganizationAdminAuth>
io.phasetwo.service.resource.OrganizationAdminResource
io.phasetwo.service.resource.IdentityProvidersResource
-
Field Summary
Fields inherited from class io.phasetwo.service.resource.OrganizationAdminResource
em, orgs
Fields inherited from class io.phasetwo.service.resource.AbstractAdminResource
adminEvent, adminRealm, auth, connection, headers, permissions, realm, session, user
-
Constructor Summary
ConstructorDescriptionIdentityProvidersResource
(OrganizationAdminResource parent, OrganizationModel organization) -
Method Summary
Modifier and TypeMethodDescriptionjakarta.ws.rs.core.Response
create
(org.keycloak.representations.idm.ComponentRepresentation rep) jakarta.ws.rs.core.Response
createIdentityProvider
(org.keycloak.representations.idm.IdentityProviderRepresentation representation) Stream
<org.keycloak.representations.idm.IdentityProviderRepresentation> identityProvider
(String alias) protected void
idpDefaults
(org.keycloak.representations.idm.IdentityProviderRepresentation representation, Optional<LinkIdp> linkIdp) importConfig
(Map<String, Object> data) jakarta.ws.rs.core.Response
jakarta.ws.rs.core.Response
testLDAPConnection
(org.keycloak.representations.idm.TestLdapConnectionRepresentation config) Methods inherited from class io.phasetwo.service.resource.OrganizationAdminResource
getServerUrl, init
Methods inherited from class io.phasetwo.service.resource.AbstractAdminResource
setup
-
Constructor Details
-
IdentityProvidersResource
-
-
Method Details
-
identityProvider
-
getIdentityProviders
@GET @Produces("application/json") public Stream<org.keycloak.representations.idm.IdentityProviderRepresentation> getIdentityProviders() -
idpDefaults
-
createIdentityProvider
@POST @Consumes("application/json") public jakarta.ws.rs.core.Response createIdentityProvider(org.keycloak.representations.idm.IdentityProviderRepresentation representation) -
linkIdp
@POST @Path("link") @Consumes("application/json") @Produces("application/json") public jakarta.ws.rs.core.Response linkIdp(LinkIdp linkIdp) -
importConfig
@POST @Path("import-config") @Consumes("application/json") @Produces("application/json") public Map<String,String> importConfig(Map<String, Object> data) throws IOException- Throws:
IOException
-
importConfig
@POST @Path("import-config") @Consumes("multipart/form-data") @Produces("application/json") public Map<String,String> importConfig() throws IOException- Throws:
IOException
-
testLDAPConnection
@Path("test-ldap-connection") @POST @Consumes("application/json") public jakarta.ws.rs.core.Response testLDAPConnection(org.keycloak.representations.idm.TestLdapConnectionRepresentation config) -
create
@POST @Path("ldap") @Consumes("application/json") public jakarta.ws.rs.core.Response create(org.keycloak.representations.idm.ComponentRepresentation rep)
-