this time from the login page login, login is certified by shiro , shiro that the user's information is stored where were we? How do I get in jsp page ?
Or login authentication , if the login is successful , I have to manually save a current user object in the session ?
------ Solution ---------------------------------------- ----
can do that, the user information stored encrypted in the session
------ Solution --------------------- -----------------------
not used, but nothing more than a few ways to verify the safety , request.getRemoteUser (), request. getUserPrincipal () getName ();.
没有评论:
发表评论