Tagged

shiro

A collection of 23 posts

repeat

springboot+shiro+redis+jwt realizes multi-terminal login: PC terminal and mobile terminal are online at the same time (different terminals can be online at the same time)

PrefaceI wrote an article about springboot+shiro+redis multi-terminal login: single sign-on+mobile terminal and PC terminal online at the same time , but the token is not jwt but sessionID. Although it has been realized to distinguish between PC and mobile terminals, there are still some There are problems, such

java

Java articles-(java using embedded Tomcat to develop javaWeb projects-advanced articles 2)

Java uses embedded Tomcat to develop javaWeb projectsWrite in frontIntegrated shiropom.xml add shiro related dependenciesCreate spring-shiro.xml under the resources directoryCreate shiroRealm for user authorization and authenticationAdd shiro related configuration in spring-shiro.xmlAdd the filter proxy corresponding to shiroFilterFactoryBeanCreate HomeController to handle login logicCreate landing pageStartup projectAdd permission checkStart

vue+springboot+shiro+redis integration

Log in to comprehensive case 01, use vue+elementui+axios on the front end and springboot+mybatis-plus+swagger2 on the back end

Log in to comprehensive case 01, use vue+elementui+axios on the front end and springboot+mybatis-plus+swagger2 on the back endUse vue+elementui+axios on the front endEnter the visual interface to create a new projectstart workingCreate new login.vue jsDesign a landing pageForm verification at loginCode for form

front-end and back-end related

LayUI + Shiro implements dynamic menus and remembers the expansion of the menu

LayUI + Shiro to achieve dynamic menu + remember the menu expansionOne, Maven dependency2. Menu-related categories1. Main menu2. SubmenuThree, Shiro configuration1. ShiroConfig2. Custom shiro password verification3. MyRealmFour, control1. LoginController2. PageController3. MenuControllerFive, the database1, the user table2. Role table3. User_role_list tableSix, front-end page1. Ajax request menu data2. Display the menu barSeven,