I had an session management api, to logout certain users and so on backed by SessionRegistry, but now I have added Spring Social functionality and integrate it with current users. Unfortunately, using filter chain with SocialAuthenticationFilter do not integrate with Session Registry and I don't have information about sessions used by logged by OAuth users. Does anyone have an idea how to fix this or know better mechanism for logged users than SessionRegistry?
Spring Social and Session Registry
396 views Asked by Mati At
1
There are 1 answers
Related Questions in JAVA
- I need the BIRT.war that is compatible with Java 17 and Tomcat 10
- Creating global Class holder
- No method found for class java.lang.String in Kafka
- Issue edit a jtable with a pictures
- getting error when trying to launch kotlin jar file that use supabase "java.lang.NoClassDefFoundError"
- Does the && (logical AND) operator have a higher precedence than || (logical OR) operator in Java?
- Mixed color rendering in a JTable
- HTTPS configuration in Spring Boot, server returning timeout
- How to use Layout to create textfields which dont increase in size?
- Function for making the code wait in javafx
- How to create beans of the same class for multiple template parameters in Spring
- How could you print a specific String from an array with the values of an array from a double array on the same line, using iteration to print all?
- org.telegram.telegrambots.meta.exceptions.TelegramApiException: Bot token and username can't be empty
- Accessing Secret Variables in Classic Pipelines through Java app in Azure DevOps
- Postgres && statement Error in Mybatis Mapper?
Related Questions in SPRING
- HTTPS configuration in Spring Boot, server returning timeout
- Multi Tenancy in Spring - Partitioned Data Approach
- How to create beans of the same class for multiple template parameters in Spring
- org.telegram.telegrambots.meta.exceptions.TelegramApiException: Bot token and username can't be empty
- Springboot: How to get an entity optional property and check null?
- How do I propagate the current SecurityContext to my @RabbitListener in Spring Boot?
- Spring's XML based bean configuration for Object Mapper's Case Insensitive property
- Failed to configure a DataSource: 'url' attribute is not specified and no embedded datasource could be configured. I'm using Postgresql
- springboot class org.hibernate.mapping.Bag cannot be cast to class org.hibernate.mapping.SimpleValue
- Issue while deploying JDK 17 and Spring 6 application in Tomcat 10.1.20
- Spring JPA Data Auditing - How to design it?
- Springframework test: Async not started
- Error: Cannot invoke "jakarta.servlet.http.HttpSession.getAttribute(String)" because "session" is null
- How does spring-retry determine which methods to retry when @Retryable is placed at the class level?
- problem with edge server registration in Eureka
Related Questions in SPRING-SECURITY
- How do I propagate the current SecurityContext to my @RabbitListener in Spring Boot?
- Spring security causing 404 with message "No static resource login"
- Spring JPA Data Auditing - How to design it?
- Spring 3 - Security: How to rebuild authManager () usage?
- Error: Cannot invoke "jakarta.servlet.http.HttpSession.getAttribute(String)" because "session" is null
- how to use ldap authentication with permission taken from db without needing password in UserDetails
- This error occurred when using springsecurity for database user verification: IllegalArgumentException
- Issue with configuring SpringSecurity to allow URLs in FilterChain
- getting React Hook "useSetupInterceptors" cannot be called at the top level when try to use useSignOut hook
- Spring Authorization Server `JdbcOAuth2AuthorizationService` does not save custom User object
- Customize Authorization Code claims with Spring OAuth2 Authorization Server 3.2.4
- Spring Security Reactive OAuth2 Client: Options for Customizing Refresh Endpoint
- Repository injection in an handler spring boot class performance
- Spring Security mix form based and http basic authentication
- SecurityContextHolder.getContext().getAuthentication() is null
Related Questions in SPRING-SOCIAL
- Need documentation or API reference to create job posts on Hirist platform
- Spring OAuth2 social login integrated with NUXT 3
- Add query parameters to social login authorisation URI with spring security
- Linkedin Social Action API Related
- What should happen if a user sign up via social login and then tries to register with same mail?
- SignIn / SignUp with Google auth code via REST
- Spring boot REST API handle authorization code GRANT_TYPE
- Springboot social using facebook for authorization
- Get and post data to a page in facebook using spring boot
- Social authentication with (spring boot, Angular 7+)
- Spring Security Oauth oauth2UserService(works on github but doesn't work on google)
- Spring Social After succesfull login redirect problem
- Spring Social Twitter and SSLException
- Attach OAuth2 login to existing users in a Spring Boot application
- Tweet with Spring-Social-Twitter Api inReplyToStatus doesn't work
Related Questions in SESSION-MANAGEMENT
- How to maintain Session Management in Servlets
- Vaadin session expire URL and redundant redirect
- Problem Regarding session in Springboot 3
- EC2 Can't connect to your instance via Session Manager
- How to set session in marklogic cluster?
- Configure XRDP session to display Session Manager
- Memcached Session Manager failing in multi-threaded environment
- Single Sign-On with Google Account for Multiple Services: How Does It Work?
- How can I attach to an existing and ongoing session by selenium webdriver using executor_url and session_id in another python file?
- How to correctly handle the save-yourself callback on the client side - XSMP?
- How to control a session creation within java servlet?
- Session management in Typescript with express
- duende identity server 6.2 session managment
- How to manage concurrent sessions (user can login only from one browser) in tomcat hosted application without Manager maxActiveSessions
- how to fetch Session from spring data redis by session Id?
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
I had the same problem and I solved it by adding the
SocialUserDetailsto theSessionRegistry.So in my
SocialUserDetailsServicewhen I build (loadUserByUserId) theSocialUserDetailsI do that: