JBoss Community

Where to configure my LDAP auth code? and Folder Structure of AS7 compare with JBoss 5

created by Kamal Suriyakumar in JBoss AS 7 Development - View the full discussion

Hi,

     I want to configure my AS with LDAP auth.

     Till the date, I am using JBoss 5.

     In ..\jboss-5\server\default\conf\login-config.xml file, I configured like,

     <application-policy name = "orangescape-sso">

          <authentication>

              <login-module code="org.jboss.security.auth.spi.LdapLoginModule"  flag="required">

                   <module-option name="java.naming.factory.initial">  com.sun.jndi.ldap.LdapCtxFactory </module-option>

                   ...

               </login-module>

          </authentication>

     </application-policy>

     -------------------------------

    In JBoss AS 7, I have configured in standalone.xml file. Is that correct file? Where to configure my LDAP auth code?

     Help to find the difference in file/folder structure between JBoss 5 and JBoss AS 7, and where to keep the LDAP configure code!.

Reply to this message by going to Community

Start a new discussion in JBoss AS 7 Development at Community