0 Replies Latest reply on Nov 19, 2012 1:32 PM by 801588

    ldap authentication programmatically - saml to work


      I have created a saml sso sample based on the following link. appA(domainA) takes user credentials and authenticates (form based) against realm and forwards to appB(domainB) without asking credentials again for appB.


      Here appA web app using web.xml contains,

      But my requirement is appA should do user authentication (ldap) programmatically not using web.xml configuration. I have my application which has already some db authentication which I do not want to touch. So I am having a class which I will run after log in to my application and should do the same ldap authentication so that my saml configuration should work. How to do this?

      Please help me.

      thanks in advance.