pom.xml 2.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556
  1. <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
  2. <modelVersion>4.0.0</modelVersion>
  3. <parent>
  4. <groupId>org.springframework.security</groupId>
  5. <artifactId>spring-security-samples</artifactId>
  6. <version>3.0.3.CI-SNAPSHOT</version>
  7. </parent>
  8. <groupId>org.springframework.security</groupId>
  9. <artifactId>spring-security-samples-preauth</artifactId>
  10. <name>Spring Security - Preauthentication sample</name>
  11. <packaging>war</packaging>
  12. <dependencies>
  13. <dependency>
  14. <groupId>org.springframework.security</groupId>
  15. <artifactId>spring-security-core</artifactId>
  16. <version>${project.version}</version>
  17. <scope>runtime</scope>
  18. </dependency>
  19. <dependency>
  20. <groupId>org.springframework.security</groupId>
  21. <artifactId>spring-security-web</artifactId>
  22. <version>${project.version}</version>
  23. <scope>runtime</scope>
  24. </dependency>
  25. <dependency>
  26. <groupId>org.springframework.security</groupId>
  27. <artifactId>spring-security-config</artifactId>
  28. <version>${project.version}</version>
  29. <scope>runtime</scope>
  30. </dependency>
  31. <dependency>
  32. <groupId>org.springframework</groupId>
  33. <artifactId>spring-jdbc</artifactId>
  34. <scope>runtime</scope>
  35. </dependency>
  36. </dependencies>
  37. <build>
  38. <plugins>
  39. <plugin>
  40. <groupId>org.mortbay.jetty</groupId>
  41. <artifactId>maven-jetty-plugin</artifactId>
  42. <version>${jetty.version}</version>
  43. <configuration>
  44. <contextPath>/preauth</contextPath>
  45. <userRealms>
  46. <userRealm implementation="org.mortbay.jetty.security.HashUserRealm">
  47. <name>Preauth Realm</name>
  48. <config>realm.properties</config>
  49. </userRealm>
  50. </userRealms>
  51. </configuration>
  52. </plugin>
  53. </plugins>
  54. </build>
  55. </project>