Spring security global method security: pre authorization and post authorization

1. Can non Web applications use Spring Security for authorization?    so many knowledge points about Spring Security mentioned earlier are designed based on Web applications. So isn't it web applications that can't use Spring Security for authentication and authorization? Spring Security is ideal for scenarios where applications ...

Added by msaz87 on Sun, 06 Mar 2022 14:21:21 +0200

[Spring Security] how to store user data into the database?

How does Spring Security store user data into the database? Up to now, we haven't connected to the database. In real projects, in most cases, we design our own permission database. However, Spring Security also provides us with a permission database designed by itself. Let's see what's going on first! Let's learn this simple one first, and the ...

Added by shocker-z on Sun, 20 Feb 2022 02:07:09 +0200

Spring security principle - authorization

summary Earlier, we have briefly introduced the authentication process of verifying user name and password. Here, let's take a look at the permission verification process of Spring Security. First, let's use a simple example to get a general idea of what Spring Security authorization is. Examples First of all, let's try to keep it simple. ...

Added by jess3333 on Fri, 18 Feb 2022 22:12:00 +0200

Implementing distributed system authorization with Spring Security

1 demand analysis The technical solutions reviewed are as follows: 1. The UAA authentication service is responsible for authentication authorization. 2. All requests arrive at the microservice through the gateway 3. The gateway is responsible for authenticating the client and forwarding the request 4. The gateway parses the token a ...

Added by daedalus__ on Wed, 09 Feb 2022 06:08:18 +0200

Spring security -- custom data source

Spring security (II) -- custom data source preface This note records the customization of the authentication data source of spring security, that is, the user name and password of user authentication are not modified in the configuration file (this kind of authentication is to put the data source into memory and use the data source in memory ...

Added by NuMan on Tue, 08 Feb 2022 11:53:53 +0200

Spring Security quick start

1 Introduction to spring security Spring Security is a security framework that can provide declarative security access control solutions for spring based enterprise applications. As it is a member of the spring ecosystem, it is constantly revised and upgraded along with the whole spring ecosystem. It is very simple to add Spring Security ...

Added by kelesis on Mon, 07 Feb 2022 21:15:01 +0200

Interpretation of the principle of Spring Security

1 integrated SpringBoot 1.1 introduction to spring boot Spring Boot is a rapid development framework of spring. It is designed based on Spring 4.0. Using Spring Boot development can avoid some cumbersome engineering construction and configuration. At the same time, it integrates a large number of common frameworks to quickly import depe ...

Added by phonydream on Mon, 07 Feb 2022 20:58:41 +0200

Implementation of single sign on based on spring security oauth2 -- how are unauthenticated requests redirected to the login address (authentication process of spring security)?

1. Foreword   in the previous article Getting started examples and process analysis In the process of process analysis, when application A is accessed for the first time (without authentication)( http://localhost:8082/index )Will be redirected to the login of APP A http://localhost:8082/login Address (Get request). From the perspective of ...

Added by Helios on Sun, 30 Jan 2022 10:44:50 +0200

Implementation of permission management based on spring security

First think about it. If you don't use the framework and let yourself implement the permission management function, how many keywords can you jump out of your mind? FilterInterceptor These two concepts should be thought of in an instant. They can help us realize the permission function. One is the specification of servlet and the other is the ...

Added by belphegor on Fri, 28 Jan 2022 11:20:21 +0200

Spring Boot learning notes - Spring Security

Spring Boot learning Official website: https://spring.io/projects/spring-boot#overview file: https://docs.spring.io/spring-boot/docs/2.2.6.RELEASE/reference/html/ Reference video: [crazy God says Java] the latest tutorial of SpringBoot, IDEA version, is easy to understand_ Beep beep beep_ bilibili Project complete reference code: lexi ...

Added by xinnex on Tue, 25 Jan 2022 23:15:22 +0200