https://bz.apache.org/bugzilla/show_bug.cgi?id=64713

--- Comment #1 from Christopher Schultz <ch...@christopherschultz.net> ---
How about:

Map map = state.messageInfo.getMap();
if (map != null &&
Boolean.TRUE.equals(map.containsKey("javax.servlet.http.registerSession"))) {
    register(request, response, principal, "JASPIC", null, null, true, true);
} else {
    register(request, response, principal, "JASPIC", null, null);
}

??

Care to write a PR/patch for this and submit it? Its pretty trivial but you've
already done the real work involved in locating the issue and fixing it.

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org

Reply via email to