2 Replies Latest reply on Jan 3, 2015 9:05 AM by Tom Lucas

    How to connect JBoss eap server with a Ldap server

    Tom Lucas Newbie

      Hi, I am trying to secure a web appli using JAVA EE with LDAP. I am a begginer and I have done that :

       

      The ldap server is running as a windows service with ApacheDS here is his ldif :

       

      ldif.png

      I connect to this server with login = "uid=admin,ou=system" mdp = nouveausecret .

       

      Then i configure the EAP-6.3.0\jboss-eap-6.3\domain\configuration\host.xml file :

      ldap-realm.png

       

      managelent-interfaces.png

       

      Finally i test this connection with :

       

      web.xml :

      web.png

      Login.jsp :

      login.png

       

      But when i tried to connect with my login : tlucas / mypassword it always fails. I tried to find a solution for a while but as I said i'm a begginer and I don't know what to do now.

      Thank you for your time, I stay here in case of you need more information.

      Mnems.