Class TestLdapConnectionResource
java.lang.Object
org.keycloak.services.resources.admin.TestLdapConnectionResource
- Version:
- $Revision: 1 $
- Author:
- Bill Burke
-
Field Summary
Modifier and TypeFieldDescriptionprotected final AdminPermissionEvaluator
protected final RealmModel
protected final KeycloakSession
-
Constructor Summary
ConstructorDescriptionTestLdapConnectionResource
(KeycloakSession session, AdminPermissionEvaluator auth) -
Method Summary
Modifier and TypeMethodDescriptionjakarta.ws.rs.core.Response
testLDAPConnection
(String action, String connectionUrl, String bindDn, String bindCredential, String useTruststoreSpi, String connectionTimeout, String componentId, String startTls) Deprecated.jakarta.ws.rs.core.Response
Test LDAP connection
-
Field Details
-
realm
-
auth
-
session
-
-
Constructor Details
-
TestLdapConnectionResource
-
-
Method Details
-
testLDAPConnection
@POST @Consumes("application/x-www-form-urlencoded") @Deprecated public jakarta.ws.rs.core.Response testLDAPConnection(@FormParam("action") String action, @FormParam("connectionUrl") String connectionUrl, @FormParam("bindDn") String bindDn, @FormParam("bindCredential") String bindCredential, @FormParam("useTruststoreSpi") String useTruststoreSpi, @FormParam("connectionTimeout") String connectionTimeout, @FormParam("componentId") String componentId, @FormParam("startTls") String startTls) Deprecated.Test LDAP connection- Parameters:
action
-connectionUrl
-bindDn
-bindCredential
-- Returns:
-
testLDAPConnection
@POST @Consumes("application/json") public jakarta.ws.rs.core.Response testLDAPConnection(TestLdapConnectionRepresentation config) Test LDAP connection- Returns:
-