Package org.keycloak.services.managers
Class LDAPServerCapabilitiesManager
java.lang.Object
org.keycloak.services.managers.LDAPServerCapabilitiesManager
- Author:
- Marek Posolda
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic LDAPConfig
buildLDAPConfig
(TestLdapConnectionRepresentation config, RealmModel realm) static String
getErrorCode
(Throwable throwable) static Set<LDAPCapabilityRepresentation>
queryServerCapabilities
(TestLdapConnectionRepresentation config, KeycloakSession session, RealmModel realm) static void
testLDAP
(TestLdapConnectionRepresentation config, KeycloakSession session, RealmModel realm)
-
Field Details
-
TEST_CONNECTION
- See Also:
-
TEST_AUTHENTICATION
- See Also:
-
QUERY_SERVER_CAPABILITIES
- See Also:
-
-
Constructor Details
-
LDAPServerCapabilitiesManager
public LDAPServerCapabilitiesManager()
-
-
Method Details
-
buildLDAPConfig
-
queryServerCapabilities
public static Set<LDAPCapabilityRepresentation> queryServerCapabilities(TestLdapConnectionRepresentation config, KeycloakSession session, RealmModel realm) -
getErrorCode
-
testLDAP
public static void testLDAP(TestLdapConnectionRepresentation config, KeycloakSession session, RealmModel realm) throws NamingException - Throws:
NamingException
-