From afaa169e979ad761016ed4e66a00000b9671c6f5 Mon Sep 17 00:00:00 2001 From: Luke Taylor Date: Mon, 10 Sep 2007 21:09:59 +0000 Subject: [PATCH] SEC-449: Test data ldif file for ApacheDS. --- .../org/acegisecurity/ldap/setup_data.ldif | 56 +++++++++++++++++++ 1 file changed, 56 insertions(+) create mode 100644 core/src/test/resources/org/acegisecurity/ldap/setup_data.ldif diff --git a/core/src/test/resources/org/acegisecurity/ldap/setup_data.ldif b/core/src/test/resources/org/acegisecurity/ldap/setup_data.ldif new file mode 100644 index 0000000000..f3e9d8b1f2 --- /dev/null +++ b/core/src/test/resources/org/acegisecurity/ldap/setup_data.ldif @@ -0,0 +1,56 @@ +dn: ou=groups,dc=acegisecurity,dc=org +objectclass: top +objectclass: organizationalUnit +ou: groups + +dn: ou=subgroups,ou=groups,dc=acegisecurity,dc=org +objectclass: top +objectclass: organizationalUnit +ou: subgroups + +dn: ou=people,dc=acegisecurity,dc=org +objectclass: top +objectclass: organizationalUnit +ou: groups + +dn: uid=ben,ou=people,dc=acegisecurity,dc=org +objectclass: top +objectclass: person +objectclass: organizationalPerson +objectclass: inetOrgPerson +cn: Ben Alex +sn: Alex +uid: ben +userPassword: {SHA}nFCebWjxfaLbHHG1Qk5UU4trbvQ= + +dn: uid=bob,ou=people,dc=acegisecurity,dc=org +objectclass: top +objectclass: person +objectclass: organizationalPerson +objectclass: inetOrgPerson +cn: Bob Hamilton +sn: Hamilton +uid: bob +userPassword: bobspassword + +dn: cn=developers,ou=groups,dc=acegisecurity,dc=org +objectclass: top +objectclass: groupOfNames +cn: developers +ou: developer +member: uid=ben,ou=people,dc=acegisecurity,dc=org +member: uid=bob,ou=people,dc=acegisecurity,dc=org + +dn: cn=managers,ou=groups,dc=acegisecurity,dc=org +objectclass: top +objectclass: groupOfNames +cn: managers +ou: manager +member: uid=ben,ou=people,dc=acegisecurity,dc=org + +dn: cn=submanagers,ou=subgroups,ou=groups,dc=acegisecurity,dc=org +objectclass: top +objectclass: groupOfNames +cn: submanagers +ou: submanager +member: uid=ben,ou=people,dc=acegisecurity,dc=org