I have configured multiple (HTTP Form Adapter) IdP Adapters for a SP connection (IdP configuration). User Attributes are fetched from the datastore (LDAP). Two DITs are configured in LDAP. Therefore each IdP Adapter is configured with a DIT. I wanted to use multiple adapters only because I cannot use same attribute names for multiple organizations.Eg : Adapter1 is configured with search base as dc=example1,dc=com and Adapter2 is configured with search base as dc=example2,dc=com.
When the IdP SSO url is hit, it displays a page for adapter selection.When the user enters the username/password, based on the inputs, adapter selection should be enabled automatically instead of selecting it manually/appending the particular adapter id as a query parameter.
I found that automatic adapter selection can be enabled using Adapter selector. But the existing adapters such as CIDR and saml authn context adapter doesn't apply to my requirement. Because it is either based on the request IP address/context set by SP. I have gone through the composite adapter. But I couldn't find detailed documentation on integrating the composite adapter with the SP connection.
Could anyone please let me know if my approach is right? If so please direct me on integration.If wrong, suggest me an approach.
Thanks, Aswini J
you can simply use multiple data source. Configure the filter of the other Data source form the unique value of first Data source. ex : uid=${userId} .