0 Replies Latest reply on Feb 8, 2016 9:37 AM by tushar.hadoop

    Help on LDAP + Drools + Tomcat (JNDIRealm)

    tushar.hadoop

      I am struggling from last 2 weeks on how to integrate drools-workbench login with LDAP FreeIPA using tomcat JNDIRealm

       

      Please find the attached catalina.log file

       

      This is my realm configuration, added in tomcat_home/conf/server.xml

       

      <Realm   className="org.apache.catalina.realm.JNDIRealm" debug="99"

           connectionURL="ldap://integration.dev.ida:389"

           userBase="cn=users,cn=accounts,dc=dev,dc=ida"

           userSearch="(uid={0})"

           userRoleName="memberOf"

           roleBase="ou=groups,cn=accounts,dc=dev,dc=ida"

           roleName="cn"

           roleSearch="(uniqueMember={0})"

      />

       

      I have also added fulltree.ldif file

       

      I dont know whats the missing step here, i have added 4 roles in web.xml (please find the attachment)

       

      Thanks

      Tushar