diff --git a/docs/agama/language-reference.md b/docs/agama/language-reference.md index 6940569dfb3..ce7dd8ba6e5 100644 --- a/docs/agama/language-reference.md +++ b/docs/agama/language-reference.md @@ -507,7 +507,7 @@ Repeat 3 times max ``` - A loop that runs 3 iterations at most.
A page is shown at every iteration.
If the value entered by the user matches that of `month` variable, the loop is aborted earlier + A loop that runs 3 iterations at most.
A page is shown at every iteration.
If the value entered by the user matches that of month variable, the loop is aborted earlier @@ -572,7 +572,7 @@ Iterate over human using attribute ``` - Iterates over the keys of the map printing both the key and its associated value. To learn about the .$ notation see [Maps and dot notation](#maps-and-dot-notation) + Iterates over the keys of the map printing both the key and its associated value. To learn about the .$ notation see Maps and dot notation diff --git a/jans-casa/extras/casa-external_super_gluu.py b/jans-casa/extras/casa-external_super_gluu.py index 4105e1c342f..dc1c5451ff9 100644 --- a/jans-casa/extras/casa-external_super_gluu.py +++ b/jans-casa/extras/casa-external_super_gluu.py @@ -144,14 +144,10 @@ def init(self, customScript, configurationAttributes): return False self.AS_SSA = configurationAttributes.get("AS_SSA").getValue2() - # Upon client creation, this value is populated, after that this call will not go through in subsequent script restart + # Client registration should not happen here but in the standalone super gluu script if StringHelper.isEmptyString(self.AS_CLIENT_ID): - clientRegistrationResponse = self.registerScanClient(self.AS_ENDPOINT, self.AS_ENDPOINT, self.AS_SSA, customScript) - if clientRegistrationResponse == None: - print "Super-Gluu. Failed to register Scan client!!!" - else: - self.AS_CLIENT_ID = clientRegistrationResponse['client_id'] - self.AS_CLIENT_SECRET = clientRegistrationResponse['client_secret'] + print "Super-Gluu. Scan client credentials missing" + return False if StringHelper.isNotEmptyString(self.AS_CLIENT_ID) and StringHelper.isNotEmptyString(self.AS_CLIENT_SECRET): self.enabledPushNotifications = self.initPushNotificationService(configurationAttributes)