fabric8io/fabric8 — pull request #2268 by davsclaus (2014-08-15 11:51:02+00:00)
Title: Revert "Use jolokia's secure http context."

This reverts commit e1660f589e285a21aea0a4b34e71ede0e07c7eb1.

As that change breaks the jolokia servlet security in karaf/fabric. There is an issue with Jetty not handling .sendError causing the HTTP response to request authentication to fail, causing the client to not get a response at all, and thus also fail.

We must use our code, also it supports checking if the user has the correct role.