Class IgnitionSession

java.lang.Object
org.apache.wicket.Session
org.apache.wicket.protocol.http.WebSession
com.inductiveautomation.ignition.gateway.web.IgnitionSession
All Implemented Interfaces:
Serializable, org.apache.wicket.event.IEventSink, org.apache.wicket.util.io.IClusterable

public class IgnitionSession extends org.apache.wicket.protocol.http.WebSession
See Also:
  • Constructor Details

  • Method Details

    • isSessionActive

      public boolean isSessionActive()
    • touch

      public void touch()
    • get

      public static IgnitionSession get()
    • clearConsoleWriter

      public void clearConsoleWriter()
    • getConsoleWriter

      public StringWriter getConsoleWriter()
    • getUser

      public WebAuthUserContext getUser()
    • setUser

      public void setUser(WebAuthUserContext user)
    • setUser

      public void setUser(WebAuthUserContext user, boolean invalidate)
    • isLoggedIn

      public boolean isLoggedIn()
      Returns true if this web session has logged in. Doesn't say anything about what roles or access the logged in user should have
    • isAdmin

      public boolean isAdmin()
      Returns true if this web session is logged in and should have access to the administrative portions of the gateway.
    • debug

      public void debug(String message)
    • info

      public void info(String message)
    • success

      public void success(String message)
    • warn

      public void warn(String message)
    • fatal

      public void fatal(String message)
    • error

      public void error(String message, Throwable ex)
    • error

      public void error(Throwable ex)
    • formatThrowable

      public String formatThrowable(Throwable ex)
    • getCurrentLocation

      public NavLocation getCurrentLocation()
    • setCurrentLocation

      public void setCurrentLocation(NavLocation currentLocation)
    • getProgressListener

      public ProgressListener getProgressListener()
    • setProgressListener

      public void setProgressListener(ProgressListener progressListener)