Skip to content

Include DispatcherServlets only exposed as a ServletRegistrationBean in the mappings endpoint #13186

Closed
@filiphr

Description

@filiphr

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

Metadata

Metadata

Assignees

Labels

status: supersededAn issue that has been superseded by anothertype: bugA general bug

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions