spring-session Questions
1
I have an endpoint (/logout) that invalidate the session manually by calling HttpSession#invalidate(). Sometimes i got the following exception (Within 1000 request it happens about a dozen times):
...
Sheeb asked 11/3 at 11:48
3
I have followed Quetion1 and Quetion2 from stack overflow to send messages to specific client, based on its sessionId but could not find success.
Below is my sample RestController class
@RestCont...
Levalloisian asked 21/4, 2017 at 7:28
4
Solved
Looking at the Spring Boot docs I only found examples to use session with Redis, Is it possible to use it without Redis?
Unbend asked 27/10, 2015 at 23:48
1
Solved
I recently upgraded to Spring Security 6, and have found that authenticating using basic auth from JS or from curl no longer works but authenticating with basic auth using Java's HttpClient does wo...
Nonoccurrence asked 15/12, 2022 at 20:7
3
Solved
I precise that I am a french student in 1st year of Java Developper.
I'm developing a little multi-module app using: Spring Boot, Spring security, Hibernate, Spring Data, Spring MVC and Thymeleaf...
Jobholder asked 16/11, 2018 at 15:25
3
Solved
I'd like to work with Redis for manipulating sessions.But I get failure when running the spring boot app.So I guess that this error is coming from maven dependencies especially version conflicts.
...
Kelley asked 8/10, 2018 at 11:23
2
We have extended the principal with our own User object. This way the object is available with every request.
When a user updates his information, the principal needs to updated with this new data....
Stewpan asked 15/12, 2015 at 22:55
2
I am using OpenAM as my IDP and my SP (an angular2 SPA) is based on the example shared at: https://github.com/vdenotaris/spring-boot-security-saml-sample
After authentication, my webapp is suppose...
Pontonier asked 31/7, 2016 at 7:50
1
I have a Spring Cloud-based application running on multiple spring-boot servers. All servers share the same Spring Session using @EnableRedisHttpSession.
I now want to integrate a third party widg...
Algology asked 21/2, 2016 at 11:55
2
Solved
I have a spring boot API hosted at Heroku and when I try to access it via a Angular app in Google Chrome (In Firefox it works fine) I'm facing the following problem:
It seems that the JSESSIONID c...
Quenna asked 29/4, 2021 at 15:8
1
Solved
I am using Spring Session Redis Data (configured with autoconfiguration, no customizations so far) which defaults to using FindByIndexNameSessionRepository as the SessionRepository implementation.
...
Inexact asked 28/1, 2022 at 9:35
2
My question is, in distributed web application is it possible to get the valid sessions from Redis Store using RedisOperationSessionRepository. (I mean I don't want to write explicit code for putti...
Uyekawa asked 10/3, 2016 at 16:23
0
I'm using Spring Security with Spring Session which serializes the session to Redis as JSON. To make it properly working I make this Spring Session configuration. Also, I added SecurityJackson2Modu...
Eal asked 26/9, 2021 at 19:31
1
I'm using Spring Boot and Spring Session to control an application that uses ReactJS as frontend. My problem is simple and I tried several ways to deal with without success.
The React portion use...
Isma asked 1/10, 2016 at 1:8
2
I have to be able to rename the default Spring Session table and found the following configuration options in the spring session documentation.
spring.session.jdbc.schema=classpath:org/springfr...
Ender asked 8/8, 2018 at 16:46
3
Solved
After adding 2 dependencies shown below to my application everything works fine my session data is written to my local redis server, but when i try to specify different address of redis server i go...
Stentorian asked 30/7, 2018 at 8:52
3
Solved
I try to run this example but without using Redis, instead with my local MySQL server.
I have edited this spring boot app like this:
Gradle:
buildscript {
repositories {
mavenCentral()
}
dep...
Purveyor asked 23/5, 2016 at 19:22
3
I want to prevent login when user exceed maxSession count. For example every user can login once. And then if logged user try another login system should disable login for him.
.sessionManagement...
Gaitskell asked 18/6, 2016 at 1:55
0
I'm creating a simple hotel reservation web application in Spring. Currently, I'm building the actual implementation of booking functionality, employing HttpSession to store data between requests t...
Gabriellagabrielle asked 28/8, 2020 at 21:58
5
Solved
In my Spring Boot 1.4 based application I use Spring Session to store session data in the database with JDBC.
This works fine with the default session. But when I want to add a new session (by add...
Astound asked 31/7, 2016 at 18:35
1
I'm working on implementing Spring Session in a legacy application. I followed the Spring documentation to get the session library implemented and everything seems to be working well, except....
T...
Bernardinebernardo asked 9/1, 2017 at 23:46
2
I'm using Spring Boot 2.0.x, Hibernate and Spring Session Jdbc with Mysql 5.7.
I'm working under development environment, so Hibernate is configured to generate schemas every time:
spring.jpa.hib...
Breslau asked 17/12, 2018 at 21:22
3
Solved
I am looking at moving user session from the application level to a Redis instance. I believe I have everything set up correctly according to the documentation (http://docs.spring.io/spring-session...
Ingres asked 29/3, 2016 at 13:13
2
When building below Spring session sample using gradle:
https://docs.spring.io/spring-session/docs/current/reference/html5/guides/boot-findbyusername.html
I encountered an error regarding to java....
Ellery asked 28/7, 2018 at 3:19
1
Recently we started using spring redis session as our session manager.
We already have our application running in production for the last 8-10 months. There is a mobile app which uses this backend....
Hedvige asked 17/7, 2019 at 12:5
1 Next >
© 2022 - 2024 — McMap. All rights reserved.