LDAP integration with orbeon forms

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

LDAP integration with orbeon forms

raju

Hi All,

1.To validate specific users to create forms in orbeon forms  i am using the 'JDBCRealm' and created tables 'users' and 'user_roles' in my MSQL DB
2.The Configuration in server.xml is below snippet

     <Realm className="org.apache.catalina.realm.JDBCRealm" debug="99"
      driverName="com.mysql.jdbc.Driver"
        connectionURL="jdbc:mysql://localhost/orbeon_tomcatPE?user=root&amp;password=ityug123"
       userTable="users" userNameCol="user_name" userCredCol="user_pass"
         userRoleTable="user_roles" roleNameCol="role_name"/> 
3.And I have inserted few users in my tables
4.So who will logged into site  that user able to creating the forms fine
But my requirement is need to authenticate users from LDAP server .

Help me out below things :
1.Is there any mechanism to authenticate users using LDAP
2.Is there any properties need to configure in propertis-local.xml to identify LDAP configured properties in server.xml.
3.The LDAP configuration propertis i have configured in my server.xml

<Realm   className="org.apache.catalina.realm.JNDIRealm"
    connectionName="cn=Manager,dc=mycompany,dc=com"
connectionPassword="secret"
     connectionURL="ldap://localhost:389"
      userPassword="userPassword"
       userPattern="uid={0},ou=people,dc=mycompany,dc=com"
          roleBase="ou=groups,dc=mycompany,dc=com"
          roleName="cn"
        roleSearch="(uniqueMember={0})"
/>

4.After configured above when i logged into site then authentication was failing

Can any one help me out to configure LDAP properties in properties-local.xml if any i haven't configured related LDAP properties in properties-local.xml  ?

 Thanks,
- RaaZ


Reply | Threaded
Open this post in threaded view
|

Re: LDAP integration with orbeon forms

Erik Bruchez
Administrator
The container-driven method will work for LDAP or any other Tomcat realm:

http://wiki.orbeon.com/forms/doc/developer-guide/form-runner/access-control#TOC-Container-driven-method

-Erik