Spring boot uses spring security by default. Spring security is a powerful security framework, needless to say. However, if you are used to shiro, you will not use spring security for a while, so you need to integrate shiro in spring boot. When it comes to integrating shiro, there are many online tutorials, but online tutorials are not necessar ...
Posted on Sun, 21 Jun 2020 02:28:31 -0400 by jollyjumper
Last article: springboot integrated logback log
Contents of this article: Redis installation and setup, springboot implementation of Redis integration.
Download from github:
Unzip to get the following files:
The default configuration for Redis ...
Posted on Thu, 04 Jun 2020 18:19:52 -0400 by Eminem
Many articles mentioned that Swagger should be turned off in the production environment to prevent system resource leakage. Today, with my own experience in the development process, I share a method that can be implemented in just a few lines of code to allow Apache Shiro to take over Swagger authentication and authorization. If there is a bett ...
Posted on Fri, 22 May 2020 03:11:03 -0400 by K3nnnn
matters needing attention:
Output station scrambling
a link submitted as post
Form validation before submission
Confirm before jump
jsr303 validation form
Tags used by Shiro in jsp
Path jump problem:
matters needing attent ...
Posted on Fri, 15 May 2020 01:44:37 -0400 by hchsk
Previously, a small partner said that it would be better to write a Filter intercept request for Spring Security, which is so troublesome.
Writing on your own is certainly possible, but in most cases, everyone is not a professional Web security engineer, so the problem is just certification and authorization. Once these two issues are addressed ...
Posted on Mon, 11 May 2020 22:05:33 -0400 by madrazel
Requests often carry cookies. As mentioned above, when creating a request, you can set parameters through the header. Cookie s are also one of the parameters. As follows:
Request request = new Request.Builder()
You can then get a new Cookie from the returned response. You may have to fi ...
Posted on Mon, 04 May 2020 05:08:57 -0400 by Cesar
Apache Shiro is a Java security framework
Shiro is a powerful and easy-to-use Java security framework, mainly used for more convenient authentication, authorization, encryption, session management, integration with the Web, caching, etc
Shiro is small and easy to use
Spring has spring security, which is a permission framework. ...
Posted on Mon, 13 Apr 2020 01:55:20 -0400 by anindya23
Realm: domain, Shiro obtains security data (such as user, role, permission) from realm, that is, if SecurityManager wants to verify the user's identity, it needs to obtain the corresponding user from realm for comparison to determine whether the user's identity is legal; it also needs to obtain the corresponding role / permission ...
Posted on Thu, 27 Feb 2020 02:47:09 -0500 by rubadub
Hello, welcome to the program workplace, where you need to improve technology, career planning, personal growth, sideline development and other articles.
Learn and improve with more small partners.
In the last article, Shiro is used to encrypt user information. Have you read all of them? Click to ...
Posted on Wed, 26 Feb 2020 03:40:20 -0500 by KeitaroHimura