0 Replies Latest reply on May 8, 2016 11:11 PM by Tapash Paul

    What JBOSS's equivalent to WebShere LDAP authMechanismPreference="BASIC_PASSWORD"

    Tapash Paul Newbie

      How does one provide LDAP's user_id/password style authentication within JBOSS?

       

      Some example will be appreciated..

       

      currently I have .. following, and it complains that it lacks SASL.

      I am trying to port from web sphere, there I have authMechanismPreference="BASIC_PASSWORD"

                      <external-context name="java:global/jms/NsdbQCF" module="org.jboss.genericjms.provider" class="javax.naming.directory.InitialDirContext" cache="true">

                          <environment>

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

                              <property name="java.naming.provider.url" value="ldap://emlprd02.sbc.com:4299"/>

                              <property name="java.naming.security.authentication" value="uid"/>

                              <property name="java.naming.security.principal" value="cn=prdQCF,ou=1_0,ou=nsdb,o=network,t=jms,c=us"/>

                              <property name="java.naming.security.credentials" value="password"/>

                          </environment>

                      </external-context>