pom.xml 3.9 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697
  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>2.0-SNAPSHOT</version>
  7. </parent>
  8. <groupId>org.springframework.security</groupId>
  9. <artifactId>spring-security-samples-cas-client</artifactId>
  10. <name>Spring Security - CAS Sample Client Web Application</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. </dependency>
  18. <dependency>
  19. <groupId>org.springframework.security</groupId>
  20. <artifactId>spring-security-cas-client</artifactId>
  21. <version>${project.version}</version>
  22. </dependency>
  23. <dependency>
  24. <groupId>org.springframework</groupId>
  25. <artifactId>spring-web</artifactId>
  26. </dependency>
  27. <dependency>
  28. <groupId>org.springframework</groupId>
  29. <artifactId>spring-webmvc</artifactId>
  30. <version>${spring.version}</version>
  31. </dependency>
  32. <dependency>
  33. <groupId>org.springframework</groupId>
  34. <artifactId>spring-jdbc</artifactId>
  35. <scope>runtime</scope>
  36. </dependency>
  37. <dependency>
  38. <groupId>org.springframework</groupId>
  39. <artifactId>spring-aop</artifactId>
  40. <scope>runtime</scope>
  41. </dependency>
  42. <dependency>
  43. <groupId>cas</groupId>
  44. <artifactId>casclient</artifactId>
  45. <version>2.1.1</version>
  46. </dependency>
  47. <dependency>
  48. <groupId>net.sf.ehcache</groupId>
  49. <artifactId>ehcache</artifactId>
  50. <version>1.3.0</version>
  51. <scope>runtime</scope>
  52. </dependency>
  53. <dependency>
  54. <groupId>org.slf4j</groupId>
  55. <artifactId>slf4j-log4j12</artifactId>
  56. <version>1.4.3</version>
  57. <scope>runtime</scope>
  58. <optional>true</optional>
  59. </dependency>
  60. </dependencies>
  61. <build>
  62. <plugins>
  63. <plugin>
  64. <groupId>org.apache.maven.plugins</groupId>
  65. <artifactId>maven-compiler-plugin</artifactId>
  66. <configuration>
  67. <source>1.5</source>
  68. <target>1.5</target>
  69. </configuration>
  70. </plugin>
  71. <plugin>
  72. <groupId>org.mortbay.jetty</groupId>
  73. <artifactId>maven-jetty-plugin</artifactId>
  74. <version>6.1.7</version>
  75. <configuration>
  76. <contextPath>/cas-sample</contextPath>
  77. <connectors>
  78. <connector implementation="org.mortbay.jetty.nio.SelectChannelConnector">
  79. <port>8080</port>
  80. <confidentialPort>8443</confidentialPort>
  81. </connector>
  82. <connector implementation="org.mortbay.jetty.security.SslSocketConnector">
  83. <port>8443</port>
  84. <keystore>../../certificates/server.jks</keystore>
  85. <password>password</password>
  86. <keyPassword>password</keyPassword>
  87. <truststore>../../certificates/server.jks</truststore>
  88. <trustPassword>password</trustPassword>
  89. </connector>
  90. </connectors>
  91. </configuration>
  92. </plugin>
  93. </plugins>
  94. </build>
  95. </project>