ServletContext servletContext = request.getSession().getServletContext();
HDIVConfig config = HDIVUtil.getHDIVConfig(servletContext);
if (Boolean.TRUE.equals(config.getConfidentiality())) {
throw new HDIVException("Confidentiality is not implemented in HDIV for JSF, disable it in hdiv-config.xml");
}
}