0 Replies Latest reply: May 9, 2012 1:38 PM by Steven Boscarine RSS

    How do I report a (possible) documentation error?

    Steven Boscarine Novice

      Hello All,

      I ran into what looks like an error.  What's the proper way to report it?

       

       

      Shoudln't

       

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

                  <module-option name="java.naming.security.authentication" value="simple">

                    ...

                  </module-option>

                </module-option>

      be

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

                <module-option name="java.naming.security.authentication" value="simple"></module-option>

       

      in https://docs.jboss.org/author/display/AS71/Developer+Guide#DeveloperGuide-ChangesyouneedtomakeforSecurity

       

      The docs imply the tags should be nested.

       

      Thanks,
      Steven

       

      Here's the section :

       

      Configure LDAP security realm changes

      In previous releases of JBoss AS, the LDAP realm was configured as an application-policy in the login-config.xml file. The following is an example of configuration in a previous release:

       

      <application-policy name="mcp_ldap_domain">

       

        <authentication>

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

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

            <module-option name="java.naming.security.authentication">simple</module-option>

            ....

          </login-module>

        </authentication>

      </application-policy>

      In AS7, the LDAP realm is configured as a security-domain in the standalone/configuration/standalone.xml file if you are running a standalone server or in the domain/configuration/domain.xml file if you are running your server in a managed domain. The following is an example of configuration in AS7:

       

      <subsystem xmlns="urn:jboss:domain:security:1.0">

       

        <security-domains>

          <security-domain name="mcp_ldap_domain" type="default">

            <authentication>

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

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

                  <module-option name="java.naming.security.authentication" value="simple">

                    ...

                  </module-option>

                </module-option>

              </login-module>

            </authentication>

          </security-domain>

        </security-domains>

      </subsystem>