Swagger permission control part 2: Implementation Based on Spring Security

>Following the previous article "Apache Shiro takes over the authentication and authorization of Swagger", some enthusiastic netizens said that Apache Shiro seems too simple. In response to this problem, the individual does not make any evaluation (all technologies serve the needs). Today's main share is: how to take over the authe ...

Posted by Chrisinsd on Fri, 22 May 2020 00:13:44 -0700

shiro introduction and use

1, shiro internal structure 1. Components contained in shiro shiro mainly includes Authenticator, authorizer, session manager, encryption, remember me and cache manager 2. Introduction to components of shiro Subject: the subject, which can be understood as the user interacting with the application, contains all the information of the us ...

Posted by MrSheen on Fri, 15 May 2020 01:50:42 -0700

How to integrate Shiro+JWT with Spring Boot? Here's the easiest way to teach you

brief introduction At present, most RESTful systems use JWT for authorization verification. In Spring Boot, Shiro and JWT can be used for simple permission and authentication verification. In the process of integration with Spring Boot, there are many holes. Combined with their own and common application scenarios, we developed the simplest in ...

Posted by TronB24 on Wed, 13 May 2020 06:54:44 -0700

Shiro -- session management

session management Shiro provides a complete enterprise level session management function, independent of the underlying container (such as web container tomcat), which can be used in both Java Se and Java EE environments. It provides session management, session event monitoring, session storage / persistence, container independent clustering, ...

Posted by genics on Sat, 07 Mar 2020 00:46:52 -0800

Integrated use of Shiro permission management in SpringBoot

When integrating Shiro, we first need to determine our steps: 1. Add Shiro's dependency package to implement its own Realm class (by inheriting the AuthorizingRealm class); 2. Implement Shiro's configuration class 3. Implement the front-end login interface and Controller class   Step one: Add d ...

Posted by vivianp79 on Mon, 02 Mar 2020 18:37:12 -0800

Shiro -- Basic authentication process

Introduction: In shiro, users need to provide principles and credentials to shiro so that the application can verify the user's identity: Principles: identity, that is, the identity attribute of the principal, can be anything, such as user name, mailbox, etc., only. A principal can have multiple principals, but only one primary principal, usual ...

Posted by lopes_andre on Wed, 26 Feb 2020 22:52:49 -0800

Apache Shiro security framework

1, What is Shiro security framework shrio is a powerful and flexible open source security framework, which mainly deals with authentication, authorization, session management and encryption. Authentication: sometimes referred to as "login", i.e. authentication of the user. Authori ...

Posted by Kev on Mon, 24 Feb 2020 20:55:28 -0800

Shiro Simple Use

Shiro 1. Introduction Apache Shiro is a Java security (permissions) framework. Shiro can easily develop applications that are good enough not only for JavaSE environments, but also for JavaEE environments. Shiro can complete authentication, authorization, encryption, session management, Web integration, caching, and more. Download address: ht ...

Posted by jsim on Thu, 13 Feb 2020 21:10:28 -0800

Use Spring Security for security control in Spring Boot learning

Security configurations are often used in development, and users who do not have access need to go to the login form page.There are many ways to achieve access control, including through Aop, interceptors, and frameworks (such as Apache Shiro, Spring Security). We describe how Spring Security is used fo ...

Posted by Nickosssss on Mon, 03 Feb 2020 18:07:37 -0800

Shiro + Redis custom session management

Original blog address This picture is very important!!! Town building 0x001 override SessionManager shiro provides three default implementations: DefaultSessionManager: for java se environment ServletContainerSessionManager: implementation used by default, Servlet container management DefaultWebSe ...

Posted by mhoward on Wed, 29 Jan 2020 09:19:02 -0800