diff --git a/spring-boot-demo-rbac-shiro/.gitignore b/spring-boot-demo-rbac-shiro/.gitignore new file mode 100644 index 0000000..82eca33 --- /dev/null +++ b/spring-boot-demo-rbac-shiro/.gitignore @@ -0,0 +1,25 @@ +/target/ +!.mvn/wrapper/maven-wrapper.jar + +### STS ### +.apt_generated +.classpath +.factorypath +.project +.settings +.springBeans +.sts4-cache + +### IntelliJ IDEA ### +.idea +*.iws +*.iml +*.ipr + +### NetBeans ### +/nbproject/private/ +/build/ +/nbbuild/ +/dist/ +/nbdist/ +/.nb-gradle/ \ No newline at end of file diff --git a/spring-boot-demo-rbac-shiro/pom.xml b/spring-boot-demo-rbac-shiro/pom.xml new file mode 100644 index 0000000..68ccb3b --- /dev/null +++ b/spring-boot-demo-rbac-shiro/pom.xml @@ -0,0 +1,50 @@ + + + 4.0.0 + + com.xkcoding + spring-boot-demo-rbac-shiro + 1.0.0-SNAPSHOT + jar + + spring-boot-demo-rbac-shiro + Demo project for Spring Boot + + + org.springframework.boot + spring-boot-starter-parent + 2.1.1.RELEASE + + + + + UTF-8 + UTF-8 + 1.8 + + + + + org.springframework.boot + spring-boot-starter + + + + org.springframework.boot + spring-boot-starter-test + test + + + + + + + org.springframework.boot + spring-boot-maven-plugin + + + + + + diff --git a/spring-boot-demo-rbac-shiro/src/main/java/com/xkcoding/rbac/shiro/SpringBootDemoRbacShiroApplication.java b/spring-boot-demo-rbac-shiro/src/main/java/com/xkcoding/rbac/shiro/SpringBootDemoRbacShiroApplication.java new file mode 100644 index 0000000..8e137f1 --- /dev/null +++ b/spring-boot-demo-rbac-shiro/src/main/java/com/xkcoding/rbac/shiro/SpringBootDemoRbacShiroApplication.java @@ -0,0 +1,12 @@ +package com.xkcoding.rbac.shiro; + +import org.springframework.boot.SpringApplication; +import org.springframework.boot.autoconfigure.SpringBootApplication; + +@SpringBootApplication +public class SpringBootDemoRbacShiroApplication { + + public static void main(String[] args) { + SpringApplication.run(SpringBootDemoRbacShiroApplication.class, args); + } +} diff --git a/spring-boot-demo-rbac-shiro/src/main/resources/application.properties b/spring-boot-demo-rbac-shiro/src/main/resources/application.properties new file mode 100644 index 0000000..e69de29 diff --git a/spring-boot-demo-rbac-shiro/src/test/java/com/xkcoding/rbac/shiro/SpringBootDemoRbacShiroApplicationTests.java b/spring-boot-demo-rbac-shiro/src/test/java/com/xkcoding/rbac/shiro/SpringBootDemoRbacShiroApplicationTests.java new file mode 100644 index 0000000..39685a4 --- /dev/null +++ b/spring-boot-demo-rbac-shiro/src/test/java/com/xkcoding/rbac/shiro/SpringBootDemoRbacShiroApplicationTests.java @@ -0,0 +1,16 @@ +package com.xkcoding.rbac.shiro; + +import org.junit.Test; +import org.junit.runner.RunWith; +import org.springframework.boot.test.context.SpringBootTest; +import org.springframework.test.context.junit4.SpringRunner; + +@RunWith(SpringRunner.class) +@SpringBootTest +public class SpringBootDemoRbacShiroApplicationTests { + + @Test + public void contextLoads() { + } + +}