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
5d20660c
Commit
5d20660c
authored
Sep 15, 2020
by
Andy Wilkinson
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Disable proxyBeanMethods on all management context config classes
Fixes gh-23301
parent
bc9c6dc0
Changes
7
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
14 additions
and
14 deletions
+14
-14
SecurityRequestMatchersManagementContextConfiguration.java
...ecurityRequestMatchersManagementContextConfiguration.java
+2
-2
ManagementContextConfiguration.java
...ate/autoconfigure/web/ManagementContextConfiguration.java
+2
-2
JerseyChildManagementContextConfiguration.java
...web/jersey/JerseyChildManagementContextConfiguration.java
+2
-2
JerseySameManagementContextConfiguration.java
.../web/jersey/JerseySameManagementContextConfiguration.java
+2
-2
ReactiveManagementChildContextConfiguration.java
...reactive/ReactiveManagementChildContextConfiguration.java
+2
-2
ServletManagementChildContextConfiguration.java
...b/servlet/ServletManagementChildContextConfiguration.java
+2
-2
WebMvcEndpointChildContextConfiguration.java
.../web/servlet/WebMvcEndpointChildContextConfiguration.java
+2
-2
No files found.
spring-boot-project/spring-boot-actuator-autoconfigure/src/main/java/org/springframework/boot/actuate/autoconfigure/security/servlet/SecurityRequestMatchersManagementContextConfiguration.java
View file @
5d20660c
/*
* 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.
...
...
@@ -40,7 +40,7 @@ import org.springframework.web.servlet.DispatcherServlet;
* @author Madhura Bhave
* @since 2.1.8
*/
@ManagementContextConfiguration
@ManagementContextConfiguration
(
proxyBeanMethods
=
false
)
@ConditionalOnClass
({
RequestMatcher
.
class
})
@ConditionalOnWebApplication
(
type
=
ConditionalOnWebApplication
.
Type
.
SERVLET
)
public
class
SecurityRequestMatchersManagementContextConfiguration
{
...
...
spring-boot-project/spring-boot-actuator-autoconfigure/src/main/java/org/springframework/boot/actuate/autoconfigure/web/ManagementContextConfiguration.java
View file @
5d20660c
/*
* 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.
...
...
@@ -46,7 +46,7 @@ import org.springframework.core.annotation.Order;
@Target
(
ElementType
.
TYPE
)
@Retention
(
RetentionPolicy
.
RUNTIME
)
@Documented
@Configuration
(
proxyBeanMethods
=
false
)
@Configuration
public
@interface
ManagementContextConfiguration
{
/**
...
...
spring-boot-project/spring-boot-actuator-autoconfigure/src/main/java/org/springframework/boot/actuate/autoconfigure/web/jersey/JerseyChildManagementContextConfiguration.java
View file @
5d20660c
/*
* 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.
...
...
@@ -34,7 +34,7 @@ import org.springframework.context.annotation.Import;
* @author Madhura Bhave
* @since 2.1.0
*/
@ManagementContextConfiguration
(
ManagementContextType
.
CHILD
)
@ManagementContextConfiguration
(
value
=
ManagementContextType
.
CHILD
,
proxyBeanMethods
=
false
)
@Import
(
JerseyManagementContextConfiguration
.
class
)
@ConditionalOnWebApplication
(
type
=
ConditionalOnWebApplication
.
Type
.
SERVLET
)
@ConditionalOnClass
(
ResourceConfig
.
class
)
...
...
spring-boot-project/spring-boot-actuator-autoconfigure/src/main/java/org/springframework/boot/actuate/autoconfigure/web/jersey/JerseySameManagementContextConfiguration.java
View file @
5d20660c
/*
* 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.
...
...
@@ -37,7 +37,7 @@ import org.springframework.context.annotation.Import;
* @author Madhura Bhave
* @since 2.1.0
*/
@ManagementContextConfiguration
(
ManagementContextType
.
SAME
)
@ManagementContextConfiguration
(
value
=
ManagementContextType
.
SAME
,
proxyBeanMethods
=
false
)
@Import
(
JerseyManagementContextConfiguration
.
class
)
@EnableConfigurationProperties
(
JerseyProperties
.
class
)
@ConditionalOnMissingBean
(
ResourceConfig
.
class
)
...
...
spring-boot-project/spring-boot-actuator-autoconfigure/src/main/java/org/springframework/boot/actuate/autoconfigure/web/reactive/ReactiveManagementChildContextConfiguration.java
View file @
5d20660c
/*
* 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.
...
...
@@ -45,7 +45,7 @@ import org.springframework.web.server.adapter.WebHttpHandlerBuilder;
* @since 2.0.0
*/
@EnableWebFlux
@ManagementContextConfiguration
(
ManagementContextType
.
CHILD
)
@ManagementContextConfiguration
(
value
=
ManagementContextType
.
CHILD
,
proxyBeanMethods
=
false
)
@ConditionalOnWebApplication
(
type
=
Type
.
REACTIVE
)
public
class
ReactiveManagementChildContextConfiguration
{
...
...
spring-boot-project/spring-boot-actuator-autoconfigure/src/main/java/org/springframework/boot/actuate/autoconfigure/web/servlet/ServletManagementChildContextConfiguration.java
View file @
5d20660c
/*
* 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.
...
...
@@ -69,7 +69,7 @@ import org.springframework.util.StringUtils;
* @author Eddú Meléndez
* @author Phillip Webb
*/
@ManagementContextConfiguration
(
ManagementContextType
.
CHILD
)
@ManagementContextConfiguration
(
value
=
ManagementContextType
.
CHILD
,
proxyBeanMethods
=
false
)
@ConditionalOnWebApplication
(
type
=
Type
.
SERVLET
)
class
ServletManagementChildContextConfiguration
{
...
...
spring-boot-project/spring-boot-actuator-autoconfigure/src/main/java/org/springframework/boot/actuate/autoconfigure/web/servlet/WebMvcEndpointChildContextConfiguration.java
View file @
5d20660c
/*
* 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.
...
...
@@ -48,7 +48,7 @@ import org.springframework.web.servlet.config.annotation.EnableWebMvc;
* @author Andy Wilkinson
* @author Phillip Webb
*/
@ManagementContextConfiguration
(
ManagementContextType
.
CHILD
)
@ManagementContextConfiguration
(
value
=
ManagementContextType
.
CHILD
,
proxyBeanMethods
=
false
)
@ConditionalOnWebApplication
(
type
=
Type
.
SERVLET
)
@ConditionalOnClass
(
DispatcherServlet
.
class
)
@EnableWebMvc
...
...
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