Home > Back-end >  Login authentication and authorization
Login authentication and authorization

Time:09-22

If the uri resources management? Heard before: each uri in the database, the user login again, for authorization in shiro, to keep the JSP, database, consistent interface 3 places, actually is that so? Don't feel quite right? !

CodePudding user response:

1, the resource library
2, the role of resources library
3, the user login
4, get all the privileges of login user resources
5, when the access interface, according to the 4 determine whether there is the interface to access
6, JSP tags in dynamic control according to the current user's resources
  • Related