shiro登录、拦截测试成功

This commit is contained in:
fjy8018@qq.com
2018-07-06 15:14:36 +08:00
parent f612e68cfc
commit 14bdaf5989
12 changed files with 150 additions and 9 deletions

View File

@@ -2,10 +2,15 @@ spring:
datasource:
type: com.alibaba.druid.pool.DruidDataSource
driver-class-name: com.mysql.jdbc.Driver
url: jdbc:mysql://localhost:3306/db_imis2?useUnicode=true&characterEncoding=utf-8&useSSL=true
url: jdbc:mysql://localhost:3306/db_shiroTest?useUnicode=true&characterEncoding=utf-8&useSSL=true
username: trs
password: shiro
mvc:
## 配置jsp页面位置 ##
view:
prefix: /pages/
suffix: .jsp
## 配置mybatis ##
mybatis:
mapper-locations: mappers/*.xml
type-aliases-package: top.fjy8018.shiro.dataobject
mapper-locations: mapper/*.xml
type-aliases-package: top.fjy8018.shiro.dataobject