pom.xml 3.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596
  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-cas</artifactId>
  6. <version>2.0.4-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. </dependency>
  31. <dependency>
  32. <groupId>org.springframework</groupId>
  33. <artifactId>spring-jdbc</artifactId>
  34. <scope>runtime</scope>
  35. </dependency>
  36. <dependency>
  37. <groupId>org.springframework</groupId>
  38. <artifactId>spring-aop</artifactId>
  39. <scope>runtime</scope>
  40. </dependency>
  41. <dependency>
  42. <groupId>org.slf4j</groupId>
  43. <artifactId>slf4j-log4j12</artifactId>
  44. <version>1.4.3</version>
  45. <scope>runtime</scope>
  46. <optional>true</optional>
  47. </dependency>
  48. </dependencies>
  49. <build>
  50. <plugins>
  51. <plugin>
  52. <groupId>org.apache.maven.plugins</groupId>
  53. <artifactId>maven-compiler-plugin</artifactId>
  54. <configuration>
  55. <source>1.5</source>
  56. <target>1.5</target>
  57. </configuration>
  58. </plugin>
  59. <plugin>
  60. <groupId>org.mortbay.jetty</groupId>
  61. <artifactId>maven-jetty-plugin</artifactId>
  62. <version>6.1.7</version>
  63. <configuration>
  64. <contextPath>/cas-sample</contextPath>
  65. <connectors>
  66. <connector implementation="org.mortbay.jetty.nio.SelectChannelConnector">
  67. <port>8080</port>
  68. <confidentialPort>8443</confidentialPort>
  69. </connector>
  70. <connector implementation="org.mortbay.jetty.security.SslSocketConnector">
  71. <port>8443</port>
  72. <keystore>../../certificates/server.jks</keystore>
  73. <password>password</password>
  74. <keyPassword>password</keyPassword>
  75. <truststore>../../certificates/server.jks</truststore>
  76. <trustPassword>password</trustPassword>
  77. </connector>
  78. </connectors>
  79. <systemProperties>
  80. <systemProperty>
  81. <name>javax.net.ssl.trustStore</name>
  82. <value>../../certificates/server.jks</value>
  83. </systemProperty>
  84. <systemProperty>
  85. <name>javax.net.ssl.trustStorePassword</name>
  86. <value>password</value>
  87. </systemProperty>
  88. </systemProperties>
  89. </configuration>
  90. </plugin>
  91. </plugins>
  92. </build>
  93. </project>