The spec says the property needs to be a String, make sure we comply.
JIRA: AAA-225
Change-Id: Ic0793676e79e50d79b55b73f2ad6d18055afb52d
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
for (var listener : webContext.listeners()) {
final var props = Map.of(
HttpWhiteboardConstants.HTTP_WHITEBOARD_CONTEXT_SELECT, contextSelect,
- HttpWhiteboardConstants.HTTP_WHITEBOARD_LISTENER, Boolean.TRUE);
+ HttpWhiteboardConstants.HTTP_WHITEBOARD_LISTENER, "true");
LOG.debug("Registering listener {} with properties {}", listener, props);
builder.add(bundleContext.registerService(ServletContextListener.class, listener,
FrameworkUtil.asDictionary(props)));