LDAP and SSO Authentication Handler
Hi,
We are using ldap login module to create users in CQ from Ldap. We want to use SSO handler for authentication by cookies. I saw on ldap documentation that we need trust_credentials_attribute="TrustedInfo" parameter to make it work.
Putting this paramter alone in ldap_login.conf file isn't working for us. I don't know what this attribute will do because looking at the source of SSOAuthenticaitonHandler, if i just pass the uid of the user in the cookie and give it the highest rank among all authentication handlers then it will work.
Also, do i need to have this attribute trust_credentials_attribute="TrustedInfo" configured within repository.xml because we have already deleted the below from the repository xml file as we aren't using CRXLoginModule.
<LoginModule class="com.day.crx.core.CRXLoginModule">
<param name="anonymousId" value="anonymous"/>
<param name="adminId" value="admin"/>
<param name="disableNTLMAuth" value="true"/>
<param name="tokenExpiration" value="43200000"/>
<!-- param name="trust_credentials_attribute" value="TrustedInfo"/ -->
</LoginModule>
We are yet to release the application so below is not applicable.
If SSO was previously already configured for use without LDAP by setting the trust_credentials_attribute in repository.xml, note that the subsequent enabling of LDAP will remove that setting, and SSO needs to be configured again in this regard.
Also, is the authenticationInfo object always passed in all requests even for anonymous objects or it only used in requests which have authenticated users? All the subsequent requests will be handler by TokenBasedAuthenticationHandler or would they still go through SSO?
Thanks for your help in advance