Comments (4)
Can you please provide a reproducible sample?
from spring-security.
Hi, @armorcodehemant. Since Spring Security 6.0 you must save the SecurityContext
manually by calling the SecurityContextRepository
, please see https://docs.spring.io/spring-security/reference/servlet/authentication/session-management.html#requireexplicitsave.
It seems that there is multiple things going on as you are mentioning both Spring Security and Spring Session APIs. If you really think it is a bug after reading the docs I linked above, can you please provide a minimal, reproducible sample, where ideally you are using only Spring Security so we can verify the behavior?
from spring-security.
@marcusdacoregio I am using securityContext.requireExplicitSave(false) So it should set up SecurityContextPersistenceFilter if so it should have worked with out manually saving the context
from spring-security.
Related Issues (20)
- CookieRequestCache should set SameSite on the REDIRECT_URI cookie HOT 1
- Clarify the behavior of Concurrent Session Management when an IdP is involved
- default SpringOpaqueTokenIntrospector always returns empty authorities HOT 1
- Documentation clarification after #12783 has been closed is needed. HOT 1
- hasAuthority and custom Mono<Boolean> method in @PreAuthorize leads to ConverterNotFoundException error HOT 2
- AbstractRequestMatcherRegistry#requestMatchers should pick MvcRequestMatcher when using MockMvc
- AbstractRequestMatcherRegistry#requestMatchers should pick MvcRequestMatcher when using MockMvc
- Incorrect documentation for OIDC Back-Channel Logout
- Fail when any filter chain declared after an AnyRequestMatcher filter chain HOT 2
- Automate check of expected branch version
- Back-Channel Logout fails with cookie-based CSRF protection HOT 1
- Consider configuring `OAuth2AuthorizationRequestResolver` by publishing a bean
- LoginPageGeneratingWebFilter类把网页依赖的地址写死了 HOT 1
- NullPointerException when GrantedAuthority.getAuthority() returns null HOT 3
- Mention all required dependencies in LDAP documentation
- Mention all required dependencies in LDAP documentation
- Mention all required dependencies in LDAP documentation
- Endpoint returns a 500, instead of 403 status code when the user does not have required permission HOT 4
- fallback for method based authorization HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from spring-security.