Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Sign in / Register
Toggle navigation
S
spring-boot
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
DEMO
spring-boot
Commits
5a266155
Commit
5a266155
authored
Sep 15, 2020
by
Andy Wilkinson
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Disable proxyBeanMethods on Spring Session config sub-classes
Closes gh-23280
parent
95a33071
Changes
6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
12 additions
and
12 deletions
+12
-12
HazelcastSessionConfiguration.java
.../autoconfigure/session/HazelcastSessionConfiguration.java
+2
-2
JdbcSessionConfiguration.java
.../boot/autoconfigure/session/JdbcSessionConfiguration.java
+2
-2
MongoReactiveSessionConfiguration.java
...oconfigure/session/MongoReactiveSessionConfiguration.java
+2
-2
MongoSessionConfiguration.java
...boot/autoconfigure/session/MongoSessionConfiguration.java
+2
-2
RedisReactiveSessionConfiguration.java
...oconfigure/session/RedisReactiveSessionConfiguration.java
+2
-2
RedisSessionConfiguration.java
...boot/autoconfigure/session/RedisSessionConfiguration.java
+2
-2
No files found.
spring-boot-project/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/session/HazelcastSessionConfiguration.java
View file @
5a266155
/*
* Copyright 2012-20
19
the original author or authors.
* Copyright 2012-20
20
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.
...
...
@@ -47,7 +47,7 @@ import org.springframework.session.hazelcast.config.annotation.web.http.Hazelcas
@EnableConfigurationProperties
(
HazelcastSessionProperties
.
class
)
class
HazelcastSessionConfiguration
{
@Configuration
@Configuration
(
proxyBeanMethods
=
false
)
public
static
class
SpringBootHazelcastHttpSessionConfiguration
extends
HazelcastHttpSessionConfiguration
{
@Autowired
...
...
spring-boot-project/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/session/JdbcSessionConfiguration.java
View file @
5a266155
/*
* Copyright 2012-20
19
the original author or authors.
* Copyright 2012-20
20
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.
...
...
@@ -56,7 +56,7 @@ class JdbcSessionConfiguration {
return
new
JdbcSessionDataSourceInitializer
(
dataSource
,
resourceLoader
,
properties
);
}
@Configuration
@Configuration
(
proxyBeanMethods
=
false
)
static
class
SpringBootJdbcHttpSessionConfiguration
extends
JdbcHttpSessionConfiguration
{
@Autowired
...
...
spring-boot-project/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/session/MongoReactiveSessionConfiguration.java
View file @
5a266155
/*
* Copyright 2012-20
19
the original author or authors.
* Copyright 2012-20
20
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.
...
...
@@ -43,7 +43,7 @@ import org.springframework.session.data.mongo.config.annotation.web.reactive.Rea
@EnableConfigurationProperties
(
MongoSessionProperties
.
class
)
class
MongoReactiveSessionConfiguration
{
@Configuration
@Configuration
(
proxyBeanMethods
=
false
)
static
class
SpringBootReactiveMongoWebSessionConfiguration
extends
ReactiveMongoWebSessionConfiguration
{
@Autowired
...
...
spring-boot-project/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/session/MongoSessionConfiguration.java
View file @
5a266155
/*
* Copyright 2012-20
19
the original author or authors.
* Copyright 2012-20
20
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.
...
...
@@ -44,7 +44,7 @@ import org.springframework.session.data.mongo.config.annotation.web.http.MongoHt
@EnableConfigurationProperties
(
MongoSessionProperties
.
class
)
class
MongoSessionConfiguration
{
@Configuration
@Configuration
(
proxyBeanMethods
=
false
)
public
static
class
SpringBootMongoHttpSessionConfiguration
extends
MongoHttpSessionConfiguration
{
@Autowired
...
...
spring-boot-project/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/session/RedisReactiveSessionConfiguration.java
View file @
5a266155
/*
* Copyright 2012-20
19
the original author or authors.
* Copyright 2012-20
20
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.
...
...
@@ -43,7 +43,7 @@ import org.springframework.session.data.redis.config.annotation.web.server.Redis
@EnableConfigurationProperties
(
RedisSessionProperties
.
class
)
class
RedisReactiveSessionConfiguration
{
@Configuration
@Configuration
(
proxyBeanMethods
=
false
)
static
class
SpringBootRedisWebSessionConfiguration
extends
RedisWebSessionConfiguration
{
@Autowired
...
...
spring-boot-project/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/session/RedisSessionConfiguration.java
View file @
5a266155
/*
* Copyright 2012-20
19
the original author or authors.
* Copyright 2012-20
20
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.
...
...
@@ -64,7 +64,7 @@ class RedisSessionConfiguration {
"Unsupported redis configure action '"
+
redisSessionProperties
.
getConfigureAction
()
+
"'."
);
}
@Configuration
@Configuration
(
proxyBeanMethods
=
false
)
public
static
class
SpringBootRedisHttpSessionConfiguration
extends
RedisHttpSessionConfiguration
{
@Autowired
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment