Files
spring-ldap/samples/article-spring20
Rob Winch 8b350a874d Convert to Gradle
This commit converts the build to a Gradle based build. It also setup sonar
integration at https://sonar.springsource.org/dashboard/index/11620

Currently tests in the samples fail on the CI server and are disabled. The
tests were not enabled for the maven based build either.

Issue: LDAP-251
2013-07-10 11:33:07 -05:00
..
2010-11-18 07:19:43 +00:00
2013-07-10 11:33:07 -05:00

Uses Spring 2.0.
Sample application demonstrating how to do the most basic stuff in Spring LDAP.
A very simple dao implementation is provided in
org.springframework.ldap.samples.article.dao.PersonDaoImpl
It demonstrates some basic operations using Spring LDAP. For reference purposes,
a corresponding implementation using ordinary Java LDAP/JNDI implementation is
available in TraditionalPersonDaoImpl.

How to use:
-----------
The project is in a Maven build structure. Make sure you have installed the samples-utils artifact, as this will be
needed for this project to work.

'mvn jetty:run' will start up a web server demonstrating the capabilities. The web application will be available
under http://localhost:8080/spring-ldap-person-article-spring20/

'mvn eclipse:eclipse' will construct an Eclipse project for you to use. Import that project into Eclipse using
File/Import/Existing Project, and select this directory.

'mvn test' will run some integration tests that require the LDAP server to be running. It's recommended to run
'mvn jetty:run' from another terminal window before 'mvn test'.