pom.xml 3.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889
  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.6.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</groupId>
  21. <artifactId>spring-core</artifactId>
  22. <exclusions>
  23. <exclusion>
  24. <artifactId>commons-logging</artifactId>
  25. <groupId>commons-logging</groupId>
  26. </exclusion>
  27. </exclusions>
  28. </dependency>
  29. <dependency>
  30. <groupId>org.springframework.security</groupId>
  31. <artifactId>spring-security-web</artifactId>
  32. <version>${project.version}</version>
  33. <scope>runtime</scope>
  34. </dependency>
  35. <dependency>
  36. <groupId>org.springframework.security</groupId>
  37. <artifactId>spring-security-config</artifactId>
  38. <version>${project.version}</version>
  39. <scope>runtime</scope>
  40. </dependency>
  41. <dependency>
  42. <groupId>org.springframework</groupId>
  43. <artifactId>spring-jdbc</artifactId>
  44. <scope>runtime</scope>
  45. </dependency>
  46. <dependency>
  47. <groupId>org.slf4j</groupId>
  48. <artifactId>slf4j-api</artifactId>
  49. <version>1.6.0</version>
  50. <scope>runtime</scope>
  51. </dependency>
  52. <dependency>
  53. <groupId>org.slf4j</groupId>
  54. <artifactId>jcl-over-slf4j</artifactId>
  55. <version>1.6.0</version>
  56. <scope>runtime</scope>
  57. </dependency>
  58. <dependency>
  59. <groupId>org.slf4j</groupId>
  60. <artifactId>slf4j-log4j12</artifactId>
  61. <version>1.6.0</version>
  62. <scope>runtime</scope>
  63. </dependency>
  64. <dependency>
  65. <groupId>log4j</groupId>
  66. <artifactId>log4j</artifactId>
  67. <scope>runtime</scope>
  68. </dependency>
  69. </dependencies>
  70. <build>
  71. <plugins>
  72. <plugin>
  73. <groupId>org.mortbay.jetty</groupId>
  74. <artifactId>maven-jetty-plugin</artifactId>
  75. <version>${jetty.version}</version>
  76. <configuration>
  77. <contextPath>/preauth</contextPath>
  78. <userRealms>
  79. <userRealm implementation="org.mortbay.jetty.security.HashUserRealm">
  80. <name>Preauth Realm</name>
  81. <config>realm.properties</config>
  82. </userRealm>
  83. </userRealms>
  84. </configuration>
  85. </plugin>
  86. </plugins>
  87. </build>
  88. </project>