private void warnBadFrontendAccess(Map<String, Object> context) { if (isBadFrontendAccessChecked() && !context.containsKey(WARN_BAD_ACCESS_DISABLED)) { LOG.warn( "Access to frontend context detected from a backend action which is strongly discouraged. " + "{} should use either the action parameter or a specific variable.", getClass().getName()); } }