From 7c99ae04e7f8061c775ba24c87b7081d0bff7352 Mon Sep 17 00:00:00 2001 From: Nadim Ritter Date: Thu, 6 Jun 2024 11:14:23 +0200 Subject: [PATCH] pw-bug comment if on additional attributes for exam --- .../servicelayer/dao/impl/ProctoringSettingsDAOImpl.java | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/main/java/ch/ethz/seb/sebserver/webservice/servicelayer/dao/impl/ProctoringSettingsDAOImpl.java b/src/main/java/ch/ethz/seb/sebserver/webservice/servicelayer/dao/impl/ProctoringSettingsDAOImpl.java index 87d05d11..b1bee942 100644 --- a/src/main/java/ch/ethz/seb/sebserver/webservice/servicelayer/dao/impl/ProctoringSettingsDAOImpl.java +++ b/src/main/java/ch/ethz/seb/sebserver/webservice/servicelayer/dao/impl/ProctoringSettingsDAOImpl.java @@ -222,7 +222,8 @@ public class ProctoringSettingsDAOImpl implements ProctoringSettingsDAO { String.valueOf(screenProctoringSettings.enableScreenProctoring)); // we need to store this only if it is an unbundled setup otherwise attributes are known by the service - if (!screenProctoringServiceBundle.bundled) { + //todo: find a better way to get the proctoring credentials + //if (!screenProctoringServiceBundle.bundled) { attributes.put( ScreenProctoringSettings.ATTR_SPS_SERVICE_URL, StringUtils.trim(screenProctoringSettings.spsServiceURL)); @@ -238,7 +239,7 @@ public class ProctoringSettingsDAOImpl implements ProctoringSettingsDAO { attributes.put( ScreenProctoringSettings.ATTR_SPS_ACCOUNT_PASSWORD, encryptSecret(Utils.trim(screenProctoringSettings.spsAccountPassword))); - } + //} attributes.put( ScreenProctoringSettings.ATTR_COLLECTING_STRATEGY,