spring-session
spring-session copied to clipboard
Spring Session
Hi All, We are having the following issue in our production environment. Subject: ERROR: PreparedStatementCallback; SQL [UPDATE SPRING_SESSION SET LAST_ACCESS_TIME = ?, MAX_INACTIVE_INTERVAL = ?, PRINCIPAL_NAME = ? WHERE SESSION_ID...
One alternative that we have to provide stateless support is to store the session data in an authenticated encrypted cookie. The [Rails Session Storage documentation](https://guides.rubyonrails.org/security.html#session-storage) gives a good insight into...
like this if not exists session, remove index when get it. is this ok? ```java @Override public Map findByIndexNameAndIndexValue(String indexName, String indexValue) { if (!PRINCIPAL_NAME_INDEX_NAME.equals(indexName)) { return Collections.emptyMap(); } String...
I'm not sure about the name just yet, but we should have a `SessionRepository` implementation that can ignore specific set of exceptions to allow ignoring of deserialization exceptions (i.e. when...
Since Spring Session defines its own types to be serialized and, therefore, has different needs than Spring Security, we should provide a Jackson Module that registers the required mixins. See:...
**Expected Behavior** It should be possible to extend or delegate to those implementations. **Current Behavior** - `SessionRepository` implementations are open for extension but cannot be extended, e.g. there is no...
**Context** Feature similar requested in [ReactiveRedisSessionRepository as similar to RedisIndexedSessionRepository (Expiration of keys to be handled in Spring framework instead of Redis expiry) **Motivation**: In Redis, there is no hard...
**Expected Behavior** Wish for `JdbcIndexedSessionRepository`: Customize both the queries _and_ how parameters are set on the `PreparedStatement`. **Current Behavior** Only the query strings are customizable by their respective setter-method (e.g....
Deadlock in SQL Server when INSERT INTO SPRING_SESSION_ATTRIBUTES by JdbcOperationsSessionRepository
I have a deadlock in SQL Server. **LOG** ``` Forwarding to error page from request [/login] due to exception [PreparedStatementCallback; SQL [INSERT INTO SPRING_SESSION_ATTRIBUTES(SESSION_PRIMARY_ID, ATTRIBUTE_NAME, ATTRIBUTE_BYTES) SELECT PRIMARY_ID, ?, ?...