shiro.ini内容如下:
[main]
sha256Matcher = org.apache.shiro.authc.credential.Sha256CredentialsMatcher
nutzdao_realm = com.laurelatsunset.designer.shiro.realm.NutDaoRealm
nutzdao_realm.credentialsMatcher = $sha256Matcher
authc = org.nutz.integration.shiro.CaptchaFormAuthenticationFilter
authc.loginUrl = /user/login
logout.redirectUrl= /user/login
authc.successUrl = /user/project/index
[urls]
/rs/* = anon
/user/home = anon
/user/index = anon
/user/error = anon
/user/logout = logout
/user/profile/active/mail = anon
/user/* = authc