springSecurity安全框架需要引入的依赖

 1 <properties>
 2   <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
 3   <maven.compiler.source>1.7</maven.compiler.source>
 4   <maven.compiler.target>1.7</maven.compiler.target>
 5   <spring.version>4.2.4.RELEASE</spring.version>
 6 </properties>
 7 
 8 <dependencies>
 9   <dependency>
10     <groupId>junit</groupId>
11     <artifactId>junit</artifactId>
12     <version>4.11</version>
13     <scope>test</scope>
14   </dependency>
15   <dependency>
16     <groupId>org.springframework</groupId>
17     <artifactId>spring-core</artifactId>
18     <version>${spring.version}</version>
19   </dependency>
20   <dependency>
21     <groupId>org.springframework</groupId>
22     <artifactId>spring-web</artifactId>
23     <version>${spring.version}</version>
24   </dependency>
25   <dependency>
26     <groupId>org.springframework</groupId>
27     <artifactId>spring-webmvc</artifactId>
28     <version>${spring.version}</version>
29   </dependency>
30   <dependency>
31     <groupId>org.springframework</groupId>
32     <artifactId>spring-test</artifactId>
33     <version>${spring.version}</version>
34   </dependency>
35   <dependency>
36     <groupId>org.springframework</groupId>
37     <artifactId>spring-jdbc</artifactId>
38     <version>${spring.version}</version>
39   </dependency>
40   <dependency>
41     <groupId>org.springframework.security</groupId>
42     <artifactId>spring-security-web</artifactId>
43     <version>4.1.0.RELEASE</version>
44   </dependency>
45   <dependency>
46     <groupId>org.springframework.security</groupId>
47     <artifactId>spring-security-config</artifactId>
48     <version>4.1.0.RELEASE</version>
49   </dependency>
50   <dependency>
51     <groupId>javax.servlet</groupId>
52     <artifactId>servlet-api</artifactId>
53     <version>2.5</version>
54     <scope>provided</scope>
55   </dependency>
56 </dependencies>
原文地址:https://www.cnblogs.com/-jian/p/11336652.html