-
Enhancement
-
Resolution: Done
-
Minor
-
PLINK_2.5.2.FInal
-
None
Currently the LDAP store configuration forces users to provide the supported types as follows:
.ldap()
.supportType(Agent.class) // redundant supported type configuration
.mapping(Agent.class)
.objectClasses("account")
.attribute("loginName", UID, true)
.readOnlyAttribute("createdDate", CREATE_TIMESTAMP)
We can simplify the configuration by discovering all supported types from the mapping configuration, as follows:
.ldap()
.mapping(Agent.class) // the Agent type is automatically added to the lit of supported types
.objectClasses("account")
.attribute("loginName", UID, true)
.readOnlyAttribute("createdDate", CREATE_TIMESTAMP)