public void start(StartContext context) throws StartException {
UndertowLogger.ROOT_LOGGER.serverStarting(Version.getVersionString());
// Register the active request PolicyContextHandler
try {
PolicyContext.registerHandler(SecurityConstants.WEB_REQUEST_KEY,
new HttpServletRequestPolicyContextHandler(), true);
} catch (PolicyContextException pce) {
UndertowLogger.ROOT_LOGGER.failedToRegisterPolicyContextHandler(SecurityConstants.WEB_REQUEST_KEY, pce);
}
}