Class LoginStack

    • Constructor Detail

      • LoginStack

        public LoginStack​(CoreSession session)
    • Method Detail

      • setSession

        public void setSession​(CoreSession session)
      • getSession

        public CoreSession getSession()
        Get the current session
      • pop

        public void pop()
        Remove the current login context from the stack.

        If no login context in in the stack nothing is done. If the login context has an associated CoreSession the session will be destroyed and the previous session is restored as the active session of the operation context.

      • clear

        protected void clear()
        Remove the stacked logins if any. This is called when chain execution is done.