org.pentaho.platform.engine.security.session
Class TrustedSystemStartupSession

java.lang.Object
  extended by org.pentaho.platform.engine.core.system.PentahoBase
      extended by org.pentaho.platform.engine.core.system.BaseSession
          extended by org.pentaho.platform.engine.core.system.StandaloneSession
              extended by org.pentaho.platform.engine.core.system.SystemStartupSession
                  extended by org.pentaho.platform.engine.security.session.TrustedSystemStartupSession
All Implemented Interfaces:
Serializable, IAuditable, ILogger, IPentahoSession

public class TrustedSystemStartupSession
extends SystemStartupSession

A "bootstrap" session used to initialize the platform.

This is a specialization of SystemStartupSession that is implicitly trusted to be authenticated. In other words, this session does not get populated with an Authentication by SecurityStartupFilter (since that filter only runs during a request). This session is populated with an Authentication during its construction. The Authentication put in this session contains the Pentaho administrator role so that it has permission to execute any global action sequences.

While this class is appropriate for a db-based solution repository (one that enforces security), it should also work with a file-based solution repository. You would only need to use the superclass with file-based solution repository if you did not want to create a dependency on this project.

Author:
mlowery
See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.pentaho.platform.engine.core.system.PentahoBase
EMPTYLOGID, LOGID_MASK1, LOGID_MASK2, LOGID_SEPARATOR
 
Fields inherited from interface org.pentaho.platform.api.engine.IPentahoSession
PENTAHO_SESSION_KEY
 
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
 
Constructor Summary
TrustedSystemStartupSession()
           
 
Method Summary
 
Methods inherited from class org.pentaho.platform.engine.core.system.StandaloneSession
getAttribute, getAttributeNames, getLogger, removeAttribute, setAttribute
 
Methods inherited from class org.pentaho.platform.engine.core.system.BaseSession
destroy, 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 class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.pentaho.platform.api.engine.ILogger
debug, debug, error, error, fatal, fatal, getLoggingLevel, info, info, setLoggingLevel, trace, trace, warn, warn
 

Constructor Detail

TrustedSystemStartupSession

public TrustedSystemStartupSession()