Skip to content

Commit 0cf16af

Browse files
AdministratorAdministrator
authored andcommitted
SpringSecurity-Action 将控制层移动到其他jar包中,
SpringSecurity-Common只提供基础的业务服务,控制层交由其他包处理
1 parent 1caf0d7 commit 0cf16af

27 files changed

Lines changed: 176 additions & 203 deletions

SpringSecurity-Action/.classpath

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<classpath>
3+
<classpathentry kind="src" output="target/classes" path="src/main/java"/>
4+
<classpathentry kind="src" output="target/test-classes" path="src/test/java"/>
5+
<classpathentry kind="src" path="src/main/resources"/>
6+
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.7"/>
7+
<classpathentry kind="con" path="org.eclipse.m2e.MAVEN2_CLASSPATH_CONTAINER"/>
8+
<classpathentry kind="output" path="target/classes"/>
9+
</classpath>

SpringSecurity-Action/.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
/target

SpringSecurity-Action/.project

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<projectDescription>
3+
<name>SpringSecurity-Action</name>
4+
<comment></comment>
5+
<projects>
6+
</projects>
7+
<buildSpec>
8+
<buildCommand>
9+
<name>org.eclipse.jdt.core.javabuilder</name>
10+
<arguments>
11+
</arguments>
12+
</buildCommand>
13+
<buildCommand>
14+
<name>org.eclipse.m2e.core.maven2Builder</name>
15+
<arguments>
16+
</arguments>
17+
</buildCommand>
18+
</buildSpec>
19+
<natures>
20+
<nature>org.eclipse.jdt.core.javanature</nature>
21+
<nature>org.eclipse.m2e.core.maven2Nature</nature>
22+
</natures>
23+
</projectDescription>
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
#Tue Dec 12 22:13:08 CST 2017
2+
eclipse.preferences.version=1
3+
useAssemblyMapping=true
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
#Tue Dec 12 22:13:08 CST 2017
2+
eclipse.preferences.version=1
3+
encoding//src/main/java=UTF-8
4+
encoding//src/test/java=UTF-8
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
#Tue Dec 12 22:13:08 CST 2017
2+
eclipse.preferences.version=1
3+
org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.7
4+
org.eclipse.jdt.core.compiler.compliance=1.7
5+
org.eclipse.jdt.core.compiler.problem.forbiddenReference=warning
6+
org.eclipse.jdt.core.compiler.source=1.7
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
#Tue Dec 12 22:13:07 CST 2017
2+
activeProfiles=
3+
eclipse.preferences.version=1
4+
resolveWorkspaceProjects=true
5+
version=1

SpringSecurity-Action/pom.xml

Lines changed: 49 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,49 @@
1+
<?xml version="1.0"?>
2+
<project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns="http://maven.apache.org/POM/4.0.0"
3+
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
4+
<modelVersion>4.0.0</modelVersion>
5+
<parent>
6+
<artifactId>SpringSecurity</artifactId>
7+
<groupId>com.byron</groupId>
8+
<version>0.0.1-SNAPSHOT</version>
9+
</parent>
10+
<!-- <groupId>com.byron</groupId> -->
11+
<artifactId>SpringSecurity-Action</artifactId>
12+
<version>0.0.1</version>
13+
<name>SpringSecurity-Action</name>
14+
<url>http://maven.apache.org</url>
15+
16+
<properties>
17+
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
18+
<struts2.version>2.3.16.3</struts2.version>
19+
</properties>
20+
21+
<dependencies>
22+
<dependency>
23+
<groupId>com.byron</groupId>
24+
<artifactId>SpringSecurity-Common</artifactId>
25+
<version>0.0.2</version>
26+
<scope>system</scope>
27+
<systemPath>D:\Program Files\apache-maven-3.0.5\repo\com\byron\SpringSecurity-Common\0.0.2\SpringSecurity-Common-0.0.2.jar</systemPath>
28+
</dependency>
29+
30+
<!-- struts2 -->
31+
<dependency>
32+
<groupId>org.apache.struts</groupId>
33+
<artifactId>struts2-core</artifactId>
34+
<version>${struts2.version}</version>
35+
</dependency>
36+
<dependency>
37+
<groupId>org.apache.struts</groupId>
38+
<artifactId>struts2-spring-plugin</artifactId>
39+
<version>${struts2.version}</version>
40+
</dependency>
41+
42+
<!-- <dependency>
43+
<groupId>junit</groupId>
44+
<artifactId>junit</artifactId>
45+
<version>3.8.1</version>
46+
<scope>test</scope>
47+
</dependency> -->
48+
</dependencies>
49+
</project>
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
package com.byron.ss.action;
2+
3+
/**
4+
* Hello world!
5+
*
6+
*/
7+
public class App
8+
{
9+
public static void main( String[] args )
10+
{
11+
System.out.println( "Hello World!" );
12+
}
13+
}

SpringSecurity-Common/src/main/java/com/byron/ss/action/GroupsAction.java renamed to SpringSecurity-Action/src/main/java/com/byron/ss/action/GroupsAction.java

File renamed without changes.

0 commit comments

Comments
 (0)