Class ExternalApplicationSessionService

java.lang.Object
io.jans.service.custom.script.ExternalScriptService
io.jans.as.server.service.external.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:
  • Field Summary

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

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

    Constructors
    Constructor
    Description
     
  • Method Summary

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

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • ExternalApplicationSessionService

      public ExternalApplicationSessionService()
  • Method Details

    • 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)