Closed
Description
When a DispatcherServlet
is registered via:
@Bean
public ServletRegistrationBean<DispatcherServlet> idmServlet(MyProperties properties) {
return registerServlet(properties.getServlet(), IdmEngineRestConfiguration.class);
}
Then when the mappings
endpoint is invoked then the
context.application.mappings.servlet
correctly contains that servlet information. However, under context.application.mappings.dispatcherServlets
only the dispatcherServlet
and not my custom servlet mappings are displayed.
It would be good if ServletRegistrationBean
(s) are also considered as part of the MappingsEndpoint