Crowd Spring Security sample

An example of using Spring Security to authenticate to Atlassian Crowd.

To configure

Edit src/main/resources/ to point to a configured Crowd instance.

Ensure you get the com.atlassian.crowd artifacts from Atlassian's public Maven repository. To enable this in your Maven configuration, see the repository changes in Maven 2 Integration for details.

To run

  1. Ensure Crowd is running
  2. Start this example:

    mvn org.mortbay.jetty:jetty-maven-plugin:run -Djetty.port=9000
  3. Visit http://localhost:9000/.


See src/main/webapp/WEB-INF/applicationContext-security.xml for the wiring and security policy.

See Integrating Crowd with Spring Security for further details.