4 Replies Latest reply: May 1, 2012 5:39 PM by kdurotoye RSS

How to integration LDAP into jboss ESB

munimanjunath kalapati Newbie

Hi,

 

Can someone please let me know how can I integrate an existing ldap server to jbossesb for  authentication and authorization.

 

Thanks

Muni

  • 1. Re: How to integration LDAP into jboss ESB
    munimanjunath kalapati Newbie

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

    <module-option name="java.naming.provider.url">ldap://localhost:10389/</module-option>

    <module-option name="bindDN">uid=admin,ou=system</module-option>

    <module-option name="bindCredential">secret</module-option>

    <module-option name="baseCtxDN">ou=users,ou=system</module-option>

    <module-option name="baseFilter">(uid={0})</module-option>

    <module-option name="roleFilter">(uniqueMember={1})</module-option>

    <module-option name="rolesCtxDN">ou=groups,ou=system</module-option>

    <module-option name="roleAttributeID">cn</module-option>

    <module-option name="roleAttributeIsDN">false</module-option>

    <module-option name="roleNameAttributeID">uniqueMember</module-option>

    <module-option name="password-stacking">useFirstPass</module-option>

    <module-option name="allowEmptyPasswords">false</module-option>

    <module-option name="com.sun.jndi.ldap.connect.pool">true</module-option>

  • 2. Re: How to integration LDAP into jboss ESB
    racem smaoui Newbie

    Hi,

     

    can you describe with an exemple all steps to integrate LDAP into jboss ESB,

  • 3. Re: How to integration LDAP into jboss ESB
    kdurotoye Newbie

    Thank you.

     

    Please how do I setup the http-provider / http-gateway in other to effect authentication/authorisation using the above login module configuration?

  • 4. Re: How to integration LDAP into jboss ESB
    kdurotoye Newbie

    Something similar to the setting below in the jboss-esb.xml  worked for me

     

    <http-provider name="HTTP" >

       <http-bus busid="HTTP-bus">

           <property name="authMethod" value="BASIC"/>

           <property name="securityDomain" value="java:/jaas/YourJBossLDAP"/>

           <property name="securityRole" value="esbrole"/>

       </http-bus>

    </http-provider>