Remove deprecated code in spring-session-data-redis
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright 2014-2020 the original author or authors.
|
||||
* Copyright 2014-2022 the original author or authors.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
@@ -65,7 +65,7 @@ public class SessionConfig {
|
||||
if (timeout != null) {
|
||||
sessionRepository.setDefaultMaxInactiveInterval(timeout);
|
||||
}
|
||||
sessionRepository.setKeyNamespace(this.redisSessionProperties.getNamespace());
|
||||
sessionRepository.setRedisKeyNamespace(this.redisSessionProperties.getNamespace());
|
||||
sessionRepository.setFlushMode(this.redisSessionProperties.getFlushMode());
|
||||
sessionRepository.setSaveMode(this.redisSessionProperties.getSaveMode());
|
||||
return sessionRepository;
|
||||
|
||||
Reference in New Issue
Block a user