1. +grails generate-all phonelibv2.Own
2. AuthController.groovy
+   Session session=SecurityUtils.subject.getSession()
+   session.setAttribute("ShiroUser",
ShiroUser.findByUsername(params.username))

3.shiro.properties
-login.failed = Invalid username and/or password
+login.failed = 用户名或密码错误！
+login.unlogin = 请登录！