diff --git a/samples/tutorial/pom.xml b/samples/tutorial/pom.xml index 60edc4e951..46c0fd2055 100644 --- a/samples/tutorial/pom.xml +++ b/samples/tutorial/pom.xml @@ -11,25 +11,25 @@ Spring Security - Tutorial sample war - - org.springframework.security - spring-security-core - ${project.version} - - - org.springframework.security - spring-security-core-tiger - ${project.version} - - - org.springframework - spring-web - - - org.springframework - spring-webmvc - ${spring.version} - + + org.springframework.security + spring-security-core + ${project.version} + + + org.springframework.security + spring-security-core-tiger + ${project.version} + + + org.springframework + spring-web + + + org.springframework + spring-webmvc + ${spring.version} + org.springframework spring-jdbc @@ -52,18 +52,45 @@ 1.0.6 runtime + + org.apache.directory.server + apacheds-core + 1.0.2 + compile + true + + + org.apache.directory.server + apacheds-server-jndi + 1.0.2 + compile + true + + + org.slf4j + slf4j-log4j12 + 1.4.3 + runtime + true + + + org.springframework.ldap + spring-ldap + 1.2.1 + true + - - org.apache.maven.plugins - maven-compiler-plugin - - 1.5 - 1.5 - - + + org.apache.maven.plugins + maven-compiler-plugin + + 1.5 + 1.5 + + org.mortbay.jetty maven-jetty-plugin diff --git a/samples/tutorial/src/main/webapp/WEB-INF/classes/users.ldif b/samples/tutorial/src/main/webapp/WEB-INF/classes/users.ldif new file mode 100644 index 0000000000..1c7153aa33 --- /dev/null +++ b/samples/tutorial/src/main/webapp/WEB-INF/classes/users.ldif @@ -0,0 +1,33 @@ +dn: ou=groups,dc=springframework,dc=org +objectclass: top +objectclass: organizationalUnit +ou: groups + +dn: ou=people,dc=springframework,dc=org +objectclass: top +objectclass: organizationalUnit +ou: people + +dn: uid=rod,ou=people,dc=springframework,dc=org +objectclass: top +objectclass: person +objectclass: organizationalPerson +objectclass: inetOrgPerson +cn: Rod Johnson +sn: Johnson +uid: rod +userPassword: koala + +dn: cn=users,ou=groups,dc=springframework,dc=org +objectclass: top +objectclass: groupOfNames +cn: users +ou: user +member: uid=rod,ou=people,dc=springframework,dc=org + +dn: cn=supervisors,ou=groups,dc=springframework,dc=org +objectclass: top +objectclass: groupOfNames +cn: supervisors +ou: supervisor +member: uid=rod,ou=people,dc=springframework,dc=org