0 Replies Latest reply on Jul 29, 2013 10:05 AM by jaigates

    how to do http (NOT HTTPS) authentication against ldap for webresources in my war  - jboss eap 5.1.2

    jaigates

      i have developeed webservice project and deployed in jboss eap 5.1.2.

      i have implemented authenticateion against ldap with https/ssl transport. For some reason i want to authenticate the wsdl's against ldap and use ONLY http protocol, so let me know how to do.

       

       

      my https working configurations in web.xml

       

       

           <security-constraint>

              <web-resource-collection>

                  <web-resource-name>WebService</web-resource-name>

                  <url-pattern>/*</url-pattern>

              </web-resource-collection>

              <auth-constraint>

                  <role-name>idvgroup1</role-name>

                  <!-- To add Multiple roles if necessary -->

                  <!-- <role-name>idvgroup2</role-name> -->

              </auth-constraint>

                <user-data-constraint>

                  <transport-guarantee>CONFIDENTIAL</transport-guarantee>

              </user-data-constraint> 

          </security-constraint>

         

          <login-config>

              <auth-method>BASIC</auth-method>

              <realm-name>ServiceDomain_LDAP</realm-name>

          </login-config>