You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This can be reproduced by adding spring security to SampleJerseyApplication and setting management.server.port to something other than 8080. The difference between the main application port and the management port is that there's an error page for the management context.
The text was updated successfully, but these errors were encountered:
Currently ManagementWebServerFactoryCustomizer always adds an ErrorPage, however, in Jersey applications we don't have an endpoint for them so the application returns 404 for all errors. We should probably mirror ErrorMvcAutoConfiguration.ErrorPageCustomizer somehow and only register them for MVC.
philwebb
changed the title
404 for protected actuator endpoints on Jersey application with separate management port
ManagementWebServerFactoryCustomizer should not always add ErrorPage
Aug 24, 2019
philwebb
changed the title
ManagementWebServerFactoryCustomizer should not always add ErrorPage
Non MVC web applications always return 404 for errors
Aug 26, 2019
This can be reproduced by adding spring security to
SampleJerseyApplication
and settingmanagement.server.port
to something other than 8080. The difference between the main application port and the management port is that there's an error page for the management context.The text was updated successfully, but these errors were encountered: