3 Replies Latest reply on Mar 28, 2006 12:55 PM by Scott Stark

    Help with jboss and LDAP , java code

    sundeep ramesh Newbie

      Hi Friends, I have developed an application and now need to authenticate using LDAP, my application does not use ejb it is a struts project. I will be accepting an user name and password, i need to authendicate the same. Below are the code that i have added to the


       <description>Require users to authenticate</description>
       <description>Only allow Authenticated_users role</description>
       <description>Encryption is not required for the application in general.

      the code that i have included into the

      <form action="j_security_check" method="post">
       Username: <input type="text" name="j_username" ></input>
       Password: <input type="password" name="j_password" ></input>
       <input type="submit" value="Submit" />

      the code for


      The code that i included in

      <application-policy name="transport_web_client_security">
       <login-module code="org.jboss.security.ClientLoginModule" flag="required"/>
       <login-module code="com.acctp.loginmodule.GenericJbossLoginModule" flag="required"/>

      These are the changes that i have done but i am not sure what has to go into the
      file could anyone help me with this. I would be very much thankful to you.

      thanking you in advance,