diff --git a/static/extension/application_session/SampleScript.py b/static/extension/application_session/SampleScript.py index ba313e8a4a8..c8d62d60a7d 100644 --- a/static/extension/application_session/SampleScript.py +++ b/static/extension/application_session/SampleScript.py @@ -75,6 +75,12 @@ def endSession(self, httpRequest, sessionId, configurationAttributes): print "Application session. External session ended successfully" return True + # Application calls it during /session/active endpoint call to modify response if needed + # jsonArray is org.json.JSONArray + # context is io.jans.as.server.model.common.ExecutionContext + def modifyActiveSessionsResponse(self, jsonArray, context): + return False + def isFirstSession(self, user_name): tokenLdap = TokenEntity() tokenLdap.setDn(self.staticConfiguration.getBaseDn().getClients())