Hi Prabhat,
First of all thanks for your help :)
There are few things with LDAP testing.
- First of all testsuite runs agains RHDS, OpenDS and OpenLDAP at the moment
http://cruisecontrol.jboss.com/cc/artifacts/jboss-portal-2.6-testsuite-su...
http://cruisecontrol.jboss.com/cc/artifacts/jboss-portal-2.6-testsuite-su...
Currently you need to build sources and run testsuite under jdk 1.5 to have LDAP tests.
Under 1.4 they simply won't be invoked.
- OpenDS is deployed locally on JBoss AS as an mbean, while RHDS and OpenLDAP are in QA,
so vpn access is needed. Ideally I would like to have a situation where testsuite run on
local developer machines will run only against local OpenDS and in QA against all servers
Testing LDAP is a little more complicated as unlike the DB you have combination of
configurations per test for:
a) identity modules implementation used
b) ldap servers
c) ldap tree
So recently I ended with directories-*.xml file for every *TestCase. And those can be find
here:
http://anonsvn.jboss.org/repos/portal/trunk/test/src/etc/
I guess that first thing you can do is to setup this like portal-db so we could comment
LDAP servers other than OpenDS in trunk
As you mentioned there is also MSAD instance in QA, but for now I'm not targetiing it.
If I have time I will try to make it somehow "experimental" supported for final,
but it's not my priority. MSAD is also hard to test in the same way as other servers
as I can't simply put my ldif data anywhere in the tree, so it's hard to have
simple populate-test-cleanup cycle per test.
For other instances it would be great to have Novel and maybe Sun Directory (as I believe
it differs a little from OpenDS) in QA. If you have any other suggestions of industry used
LDAP servers I'm open :)
This week I'm going to add more documentation in reference guide for this topic. You
can wait for this so it'll be easier to catch up on how LDAP is configured in portal
and what options are there.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4022923#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...