public static void ensureCurrentRequestEncrypted(UAK uak, String service) {
if (!WojUtil.isDevMode()) {
if (!isCurrentRequestEncrypted()) {
LOGGER.info("bad access to encrypted service "+service+" by "+uak+": request was "+getCurrentRequestURL());
throw new EncryptionLevelException(uak, service);
}
}
}