Class TestLdapConnectionResource
java.lang.Object
org.keycloak.services.resources.admin.TestLdapConnectionResource
- Version:
 - $Revision: 1 $
 - Author:
 - Bill Burke
 
- 
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final AdminPermissionEvaluatorprotected final RealmModelprotected final KeycloakSession - 
Constructor Summary
ConstructorsConstructorDescriptionTestLdapConnectionResource(KeycloakSession session, AdminPermissionEvaluator auth)  - 
Method Summary
Modifier and TypeMethodDescriptionjakarta.ws.rs.core.ResponsetestLDAPConnection(String action, String connectionUrl, String bindDn, String bindCredential, String useTruststoreSpi, String connectionTimeout, String componentId, String startTls) Deprecated.jakarta.ws.rs.core.ResponseTest 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:
 
 
 -