【实例简介】
资源分数不能设置为0,没有分的可以直接进我博客看代码。新手程序员根据网上学习写的小demo,我都能看懂基本上所有人都差不多能看懂吧。对应博客https://blog.csdn.net/qq_32786139/article/details/82658197也可直接进入俺的个人博客进行查看。
【实例截图】
【核心代码】
shirodemo
└── shirodemo
├── mvnw
├── mvnw.cmd
├── pom.xml
├── shirodemo.iml
├── src
│ ├── main
│ │ ├── java
│ │ │ └── com
│ │ │ └── example
│ │ │ └── demo
│ │ │ ├── DemoApplication.java
│ │ │ ├── configBean
│ │ │ │ └── ShiroConfigBean.java
│ │ │ ├── entity
│ │ │ │ └── User.java
│ │ │ ├── exception
│ │ │ │ └── AllException.java
│ │ │ ├── handler
│ │ │ │ ├── Ahandler.java
│ │ │ │ └── LoginHandler.java
│ │ │ ├── realms
│ │ │ │ └── MyShiroRealm.java
│ │ │ └── service
│ │ │ └── UserService.java
│ │ └── resources
│ │ ├── application.properties
│ │ ├── ehcache.xml
│ │ ├── static
│ │ │ └── jquery
│ │ │ └── jquery-3.2.1.min.js
│ │ └── templates
│ │ ├── abc.html
│ │ ├── admin.html
│ │ ├── index.html
│ │ ├── list.html
│ │ └── user.html
│ └── test
│ └── java
│ └── com
│ └── example
│ └── demo
│ └── DemoApplicationTests.java
└── target
├── classes
│ ├── application.properties
│ ├── com
│ │ └── example
│ │ └── demo
│ │ ├── DemoApplication.class
│ │ ├── configBean
│ │ │ └── ShiroConfigBean.class
│ │ ├── entity
│ │ │ └── User.class
│ │ ├── exception
│ │ │ └── AllException.class
│ │ ├── handler
│ │ │ ├── Ahandler.class
│ │ │ └── LoginHandler.class
│ │ ├── realms
│ │ │ └── MyShiroRealm.class
│ │ └── service
│ │ └── UserService.class
│ ├── ehcache.xml
│ ├── static
│ │ └── jquery
│ │ └── jquery-3.2.1.min.js
│ └── templates
│ ├── abc.html
│ ├── admin.html
│ ├── index.html
│ ├── list.html
│ └── user.html
└── test-classes
└── com
└── example
└── demo
└── DemoApplicationTests.class
40 directories, 38 files