Class TestLdapConnectionResource
- java.lang.Object
- 
- org.keycloak.services.resources.admin.TestLdapConnectionResource
 
- 
 public class TestLdapConnectionResource extends Object - Version:
- $Revision: 1 $
- Author:
- Bill Burke
 
- 
- 
Field SummaryFields Modifier and Type Field Description protected AdminPermissionEvaluatorauthprotected RealmModelrealmprotected KeycloakSessionsession
 - 
Constructor SummaryConstructors Constructor Description TestLdapConnectionResource(KeycloakSession session, AdminPermissionEvaluator auth)
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description javax.ws.rs.core.ResponsetestLDAPConnection(String action, String connectionUrl, String bindDn, String bindCredential, String useTruststoreSpi, String connectionTimeout, String componentId, String startTls)Deprecated.javax.ws.rs.core.ResponsetestLDAPConnection(TestLdapConnectionRepresentation config)Test LDAP connection
 
- 
- 
- 
Field Detail- 
realmprotected final RealmModel realm 
 - 
authprotected final AdminPermissionEvaluator auth 
 - 
sessionprotected final KeycloakSession session 
 
- 
 - 
Constructor Detail- 
TestLdapConnectionResourcepublic TestLdapConnectionResource(KeycloakSession session, AdminPermissionEvaluator auth) 
 
- 
 - 
Method Detail- 
testLDAPConnection@POST @Consumes("application/x-www-form-urlencoded") @Deprecated public javax.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 javax.ws.rs.core.Response testLDAPConnection(TestLdapConnectionRepresentation config)Test LDAP connection- Returns:
 
 
- 
 
-