[users]
admin = haoren@123.com_z3
user1 = password22, role112, role32
user2 = password3333, role333
user3 = password456, role2345
yuan = yuan@haoren123.123, role1
hao = hao@haoren123123, role1
haoren = haoren@haoren123124
ming = ming@haoren123333
[main]
sessionManager = org.apache.shiro.web.session.mgt.DefaultWebSessionManager
securityManager.sessionManager = $sessionManager
securityManager.sessionManager.globalSessionTimeout = 86400000
shiro.loginUrl = /api/login
[roles]
role1 = *
role2 = *
role3 = *
[urls]
/api/version = anon
/** = authc
阅读(1263) | 评论(0) | 转发(0) |