Merge pull request #128 from SafeExamBrowser/pw-bug

pw-bug comment if on additional attributes for exam
This commit is contained in:
Andreas Hefti 2024-06-06 11:37:23 +02:00 committed by GitHub
commit 0dd70f3ff4
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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,