Class SessionAwareRowLevelSecurityHelper
java.lang.Object
org.pentaho.metadata.util.RowLevelSecurityHelper
org.pentaho.platform.plugin.services.metadata.SessionAwareRowLevelSecurityHelper
public class SessionAwareRowLevelSecurityHelper
extends org.pentaho.metadata.util.RowLevelSecurityHelper
This row level security helper resolves SESSION("VALUE") in addition to it's parent USER() and ROLE() resolvers.
Note that it's the responsibility of the script to quote the SESSION objects, for instance:
Session ------- UID=1234 TENANT=PENTAHO
EQUALS([NUMBIZCOL];SESSION("UID")) will return NCOL=1234
EQUALS([STRBIZCOL];"SESSION("TENANT")") will return SCOL=`PENTAHO`
- Author:
- Will Gorman (wgorman@pentaho.com)
-
Field Summary
-
Constructor Summary
-
Method Summary
Methods inherited from class org.pentaho.metadata.util.RowLevelSecurityHelper
generateRuleBasedConstraint, getOpenFormulaSecurityConstraint
-
Field Details
-
logger
protected final org.apache.commons.logging.Log logger
-
-
Constructor Details
-
SessionAwareRowLevelSecurityHelper
public SessionAwareRowLevelSecurityHelper()
-
-
Method Details
-
expandFunctions
- Overrides:
expandFunctions
in classorg.pentaho.metadata.util.RowLevelSecurityHelper
-