Change By: Pedro Igor (30/Oct/13 11:54 AM)
Description: Currently the LDAP store configuration forces users to provide the supported types as follows:

{code}
.ldap()
    .supportType(Agent.class) // redundant supported type configuration
    .mapping(Agent.class)
    .objectClasses("account")
    .attribute("loginName", UID, true)
    .readOnlyAttribute("createdDate", CREATE_TIMESTAMP)
{code}

We can simplify the configuration by discovering all supported types from the mapping configuration, as follows:

{code}
.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)
{code}
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira