Run ManagementErrorPageCustomizer after core factory customizer

This commit orders ManagementErrorPageCustomizer so that is runs after
ManagementWebServerFactoryCustomizer. Previously, they had the same
order and could run either way.

Closes gh-45728
This commit is contained in:
Stéphane Nicoll
2025-06-02 16:11:41 +02:00
parent d4a3223655
commit 3595c7aa0a

View File

@@ -1,5 +1,5 @@
/*
* Copyright 2012-2021 the original author or authors.
* Copyright 2012-2025 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.
@@ -128,7 +128,7 @@ class WebMvcEndpointChildContextConfiguration {
@Override
public int getOrder() {
return 0;
return 10; // Run after ManagementWebServerFactoryCustomizer
}
}