Class PentahoHttpSession

  • All Implemented Interfaces:
    Serializable, org.pentaho.platform.api.engine.IAuditable, org.pentaho.platform.api.engine.ILogger, org.pentaho.platform.api.engine.IPentahoSession

    public class PentahoHttpSession
    extends org.pentaho.platform.engine.core.system.BaseSession
    See Also:
    Serialized Form
    • Field Summary

      • Fields inherited from class org.pentaho.platform.engine.core.system.PentahoBase

        EMPTYLOGID, loggingLevel, LOGID_MASK1, LOGID_MASK2, LOGID_SEPARATOR
      • Fields inherited from interface org.pentaho.platform.api.engine.ILogger

        ACTIVITY_LOG, DEBUG, ERROR, FATAL, INFO, INSTANCE_LOG, SESSION_LOG, SOLUTION_LOG, TRACE, UNKNOWN, WARN
      • Fields inherited from interface org.pentaho.platform.api.engine.IPentahoSession

        ATTRIBUTE_LOCALE_OVERRIDE, SESSION_ROLES, TENANT_ID_KEY
    • Constructor Summary

      Constructors 
      Constructor Description
      PentahoHttpSession​(String userName, javax.servlet.http.HttpSession session, Locale locale, org.pentaho.platform.api.engine.IPentahoSession userSession)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void destroy()  
      Object getAttribute​(String attributeName)  
      Iterator getAttributeNames()  
      org.apache.commons.logging.Log getLogger()  
      Object removeAttribute​(String attributeName)  
      void setAttribute​(String attributeName, Object value)  
      void setAuthenticated​(String name)  
      • Methods inherited from class org.pentaho.platform.engine.core.system.BaseSession

        getActionName, getBackgroundExecutionAlert, getId, getLocale, getName, getObjectName, getProcessId, isAuthenticated, resetBackgroundExecutionAlert, setActionName, setAuthenticated, setBackgroundExecutionAlert, setNotAuthenticated, setProcessId
      • Methods inherited from class org.pentaho.platform.engine.core.system.PentahoBase

        debug, debug, error, error, fatal, fatal, genLogIdFromInfo, genLogIdFromInfo, genLogIdFromSession, getLoggingLevel, getLogId, info, info, setLoggingLevel, setLogId, trace, trace, warn, warn
      • Methods inherited from interface org.pentaho.platform.api.engine.ILogger

        debug, debug, error, error, fatal, fatal, getLoggingLevel, info, info, setLoggingLevel, trace, trace, warn, warn
      • Methods inherited from interface org.pentaho.platform.api.engine.IPentahoSession

        getAttributeLocaleOverride, setAttributeLocaleOverride
    • Constructor Detail

      • PentahoHttpSession

        public PentahoHttpSession​(String userName,
                                  javax.servlet.http.HttpSession session,
                                  Locale locale,
                                  org.pentaho.platform.api.engine.IPentahoSession userSession)
    • Method Detail

      • getLogger

        public org.apache.commons.logging.Log getLogger()
        Specified by:
        getLogger in class org.pentaho.platform.engine.core.system.PentahoBase
      • getAttributeNames

        public Iterator getAttributeNames()
      • getAttribute

        public Object getAttribute​(String attributeName)
      • setAttribute

        public void setAttribute​(String attributeName,
                                 Object value)
      • removeAttribute

        public Object removeAttribute​(String attributeName)
      • setAuthenticated

        public void setAuthenticated​(String name)
        Specified by:
        setAuthenticated in interface org.pentaho.platform.api.engine.IPentahoSession
        Overrides:
        setAuthenticated in class org.pentaho.platform.engine.core.system.BaseSession
      • destroy

        public void destroy()
        Specified by:
        destroy in interface org.pentaho.platform.api.engine.IPentahoSession
        Overrides:
        destroy in class org.pentaho.platform.engine.core.system.BaseSession