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
393 Views Asked by Mati At
1
There are 1 best solutions below
Related Questions in JAVA
- Add image to JCheckBoxMenuItem
- How to access invisible Unordered List element with Selenium WebDriver using Java
- Inheritance in Java, apparent type vs actual type
- Java catch the ball Game
- Access objects variable & method by name
- GridBagLayout is displaying JTextField and JTextArea as short, vertical lines
- Perform a task each interval
- Compound classes stored in an array are not accessible in selenium java
- How to avoid concurrent access to a resource?
- Why does processing goes slower on implementing try catch block in java?
- Redirect inside java interceptor
- Push toolbar content below statusbar
- Animation in Java on top of JPanel
- JPA - How to query with a LIKE operator in combination with an AttributeConverter
- Java Assign a Value to an array cell
Related Questions in SPRING
- Redirect inside java interceptor
- Spring RestTemplate passing the type of the response
- spring-integration-dsl-groovy-http return null when i use httpGet method
- Custom Spring annotation for request parameters
- Spring - configure Jboss Intros for xml with java config?
- HTTP Status 404 - Not Found in Spring 3.2.7
- AndroidAnnotations how to use setBearerAuth
- android I/O error: java.security.cert.CertPathValidatorException: Trust anchor for certification path not found
- Show login dialog when not authenticated yet
- Spring Data Rest supporting json and xml
- @Value annotation not resolved in a class that belongs to dependency jar
- Remove nested _embedded fields while using projections
- How to send Rest GET request that contains "#" value in url parameters?
- How to inject spring bean into Validator(hibernate)
- How to keep a variable in the URL when using Spring LocaleChangeInterceptor
Related Questions in SPRING-SECURITY
- AndroidAnnotations how to use setBearerAuth
- Show login dialog when not authenticated yet
- LDAP user attributes from CAS
- Spring security /j_spring_security_login 404 error
- Use thymeleaf template for some pages and rest for some for building gradle project
- Spring MVC + Tiles + Spring Security = The requested resource is not available
- The type javax.servlet.ServletContext and javax.servlet.ServletException cannot be resolved
- Intercepting springsecurity behavior in grails
- Basic Auth to Receive Token in Spring Security
- Spring LDAP Context.REFERRAL to follow
- Fail to locate j_spring_security_check in Spring Security
- Accessing resource with expired bearer token fails with 500 http code
- Spring security not authenticate the user
- Remove "Using default security password" on Spring Boot
- Is a SecurityContext shared between requests when using Spring Security?
Related Questions in SPRING-SOCIAL
- Spring Social and Session Registry
- connect/twitter POST not redirecting to twitter authorisation
- Can Spring Social login be used for authentication?
- No Spring Security Remember me cookie created when logging in programmatically
- Spring Social Google used as Sign in Provider fails with 403 after successful Oauth2 login
- Spring Social Twitter - Application notified when account is mentioned
- Implement PrincipalExtractor for facebook (spring boot with social)
- Spring Social- Connect without having to constantly authorize the user
- How to check for the expired access token in spring social
- Spring Social Facebook
- Implicit sign up while using SocialAuthenticationFIlter- xml confuguration
- what is DH keypair exception and how to resolve that
- Social authentication in JAX-RS
- Spring Social + Spring MVC + Maven
- Redirect from facebook login to localhost
Related Questions in SESSION-MANAGEMENT
- Spring Social and Session Registry
- Struts2 Session cluster - Issue with non serialized object - when TokenSessionInterceptor is used(2.3.16) version
- spring security session times out
- Can we put condition before session timeout in spring?
- Using redis in spring boot application with separate IdP server
- is there a way to filter/suppress HTML from making it to the client?
- SessionMap vs Map which is better for Session?
- How to redirect web application flow to specific page when session ends?
- Ignite Web Session Clustering design delima
- ADF and EBS, ICX SESSION is not valid
- Custom session state management
- Managing session in REST application after authentication with OpenID
- perl cgi session info not returned on new page
- How to Prevent Concurrent User Login with Angular + Dotnet core application?
- JDBC session for embedded jetty (Version above 9.4)
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)
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?
I had the same problem and I solved it by adding the
SocialUserDetailsto theSessionRegistry.So in my
SocialUserDetailsServicewhen I build (loadUserByUserId) theSocialUserDetailsI do that: