File tree Expand file tree Collapse file tree 5 files changed +103
-0
lines changed
spring-boot-demo-rbac-shiro
java/com/xkcoding/rbac/shiro
test/java/com/xkcoding/rbac/shiro Expand file tree Collapse file tree 5 files changed +103
-0
lines changed Original file line number Diff line number Diff line change
1
+ /target /
2
+ ! .mvn /wrapper /maven-wrapper.jar
3
+
4
+ # ## STS ###
5
+ .apt_generated
6
+ .classpath
7
+ .factorypath
8
+ .project
9
+ .settings
10
+ .springBeans
11
+ .sts4-cache
12
+
13
+ # ## IntelliJ IDEA ###
14
+ .idea
15
+ * .iws
16
+ * .iml
17
+ * .ipr
18
+
19
+ # ## NetBeans ###
20
+ /nbproject /private /
21
+ /build /
22
+ /nbbuild /
23
+ /dist /
24
+ /nbdist /
25
+ /.nb-gradle /
Original file line number Diff line number Diff line change
1
+ <?xml version =" 1.0" encoding =" UTF-8" ?>
2
+ <project xmlns =" http://maven.apache.org/POM/4.0.0" xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance"
3
+ xsi : schemaLocation =" http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" >
4
+ <modelVersion >4.0.0</modelVersion >
5
+
6
+ <groupId >com.xkcoding</groupId >
7
+ <artifactId >spring-boot-demo-rbac-shiro</artifactId >
8
+ <version >1.0.0-SNAPSHOT</version >
9
+ <packaging >jar</packaging >
10
+
11
+ <name >spring-boot-demo-rbac-shiro</name >
12
+ <description >Demo project for Spring Boot</description >
13
+
14
+ <parent >
15
+ <groupId >org.springframework.boot</groupId >
16
+ <artifactId >spring-boot-starter-parent</artifactId >
17
+ <version >2.1.1.RELEASE</version >
18
+ <relativePath /> <!-- lookup parent from repository -->
19
+ </parent >
20
+
21
+ <properties >
22
+ <project .build.sourceEncoding>UTF-8</project .build.sourceEncoding>
23
+ <project .reporting.outputEncoding>UTF-8</project .reporting.outputEncoding>
24
+ <java .version>1.8</java .version>
25
+ </properties >
26
+
27
+ <dependencies >
28
+ <dependency >
29
+ <groupId >org.springframework.boot</groupId >
30
+ <artifactId >spring-boot-starter</artifactId >
31
+ </dependency >
32
+
33
+ <dependency >
34
+ <groupId >org.springframework.boot</groupId >
35
+ <artifactId >spring-boot-starter-test</artifactId >
36
+ <scope >test</scope >
37
+ </dependency >
38
+ </dependencies >
39
+
40
+ <build >
41
+ <plugins >
42
+ <plugin >
43
+ <groupId >org.springframework.boot</groupId >
44
+ <artifactId >spring-boot-maven-plugin</artifactId >
45
+ </plugin >
46
+ </plugins >
47
+ </build >
48
+
49
+
50
+ </project >
Original file line number Diff line number Diff line change
1
+ package com .xkcoding .rbac .shiro ;
2
+
3
+ import org .springframework .boot .SpringApplication ;
4
+ import org .springframework .boot .autoconfigure .SpringBootApplication ;
5
+
6
+ @ SpringBootApplication
7
+ public class SpringBootDemoRbacShiroApplication {
8
+
9
+ public static void main (String [] args ) {
10
+ SpringApplication .run (SpringBootDemoRbacShiroApplication .class , args );
11
+ }
12
+ }
Original file line number Diff line number Diff line change
1
+ package com .xkcoding .rbac .shiro ;
2
+
3
+ import org .junit .Test ;
4
+ import org .junit .runner .RunWith ;
5
+ import org .springframework .boot .test .context .SpringBootTest ;
6
+ import org .springframework .test .context .junit4 .SpringRunner ;
7
+
8
+ @ RunWith (SpringRunner .class )
9
+ @ SpringBootTest
10
+ public class SpringBootDemoRbacShiroApplicationTests {
11
+
12
+ @ Test
13
+ public void contextLoads () {
14
+ }
15
+
16
+ }
You can’t perform that action at this time.
0 commit comments