43 LDAPIdentityStoreContext context =
ldapStores.get(ldapModel.getId());
46 MultivaluedHashMap<String, String> configModel = ldapModel.getConfig();
47 LDAPConfig ldapConfig =
new LDAPConfig(configModel);
48 for (Map.Entry<ComponentModel, LDAPConfigDecorator> entry : configDecorators.entrySet()) {
49 ComponentModel mapperModel = entry.getKey();
50 LDAPConfigDecorator decorator = entry.getValue();
52 decorator.updateLDAPConfig(ldapConfig, mapperModel);
55 if (context == null || !ldapConfig.equals(context.config)) {
59 context =
new LDAPIdentityStoreContext(ldapConfig, store);
static LDAPIdentityStore createLdapIdentityStore(LDAPConfig cfg)
Definition: LDAPIdentityStoreRegistry.java:83
void logLDAPConfig(KeycloakSession session, ComponentModel ldapModel, LDAPConfig ldapConfig)
Definition: LDAPIdentityStoreRegistry.java:66
Map< String, LDAPIdentityStoreContext > ldapStores
Definition: LDAPIdentityStoreRegistry.java:40