Class ExternalApplicationSessionService

  • All Implemented Interfaces:
    Serializable

    @ApplicationScoped
    @Named
    public class ExternalApplicationSessionService
    extends io.jans.service.custom.script.ExternalScriptService
    Provides factory methods needed to create external application session extension
    Version:
    August 9, 2017
    Author:
    Yuriy Movchan
    See Also:
    Serialized Form
    • Field Summary

      • Fields inherited from class io.jans.service.custom.script.ExternalScriptService

        customScriptConfigurations, customScriptConfigurationsNameMap, customScriptManager, customScriptType, defaultExternalCustomScript, loaded, log
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean executeExternalEndSessionMethod​(io.jans.model.custom.script.conf.CustomScriptConfiguration customScriptConfiguration, jakarta.servlet.http.HttpServletRequest httpRequest, io.jans.as.common.model.session.SessionId sessionId)  
      boolean executeExternalEndSessionMethods​(jakarta.servlet.http.HttpServletRequest httpRequest, io.jans.as.common.model.session.SessionId sessionId)  
      boolean executeExternalStartSessionMethod​(io.jans.model.custom.script.conf.CustomScriptConfiguration customScriptConfiguration, jakarta.servlet.http.HttpServletRequest httpRequest, io.jans.as.common.model.session.SessionId sessionId)  
      boolean executeExternalStartSessionMethods​(jakarta.servlet.http.HttpServletRequest httpRequest, io.jans.as.common.model.session.SessionId sessionId)  
      void externalEvent​(SessionEvent event)  
      boolean modifyActiveSessionsResponse​(org.json.JSONArray jsonArray, ExecutionContext executionContext)  
      • Methods inherited from class io.jans.service.custom.script.ExternalScriptService

        addExternalConfigurations, clearScriptError, configure, determineDefaultCustomScriptConfiguration, executeExternalGetApiVersion, getCustomScriptConfigurationByName, getCustomScriptConfigurations, getCustomScriptConfigurationsByDns, getCustomScriptType, getDefaultExternalCustomScript, init, isEnabled, isLoaded, reload, reloadExternal, saveScriptError
    • Constructor Detail

      • ExternalApplicationSessionService

        public ExternalApplicationSessionService()
    • Method Detail

      • executeExternalStartSessionMethod

        public boolean executeExternalStartSessionMethod​(io.jans.model.custom.script.conf.CustomScriptConfiguration customScriptConfiguration,
                                                         jakarta.servlet.http.HttpServletRequest httpRequest,
                                                         io.jans.as.common.model.session.SessionId sessionId)
      • executeExternalStartSessionMethods

        public boolean executeExternalStartSessionMethods​(jakarta.servlet.http.HttpServletRequest httpRequest,
                                                          io.jans.as.common.model.session.SessionId sessionId)
      • executeExternalEndSessionMethod

        public boolean executeExternalEndSessionMethod​(io.jans.model.custom.script.conf.CustomScriptConfiguration customScriptConfiguration,
                                                       jakarta.servlet.http.HttpServletRequest httpRequest,
                                                       io.jans.as.common.model.session.SessionId sessionId)
      • executeExternalEndSessionMethods

        public boolean executeExternalEndSessionMethods​(jakarta.servlet.http.HttpServletRequest httpRequest,
                                                        io.jans.as.common.model.session.SessionId sessionId)
      • externalEvent

        public void externalEvent​(SessionEvent event)
      • modifyActiveSessionsResponse

        public boolean modifyActiveSessionsResponse​(org.json.JSONArray jsonArray,
                                                    ExecutionContext executionContext)