return PentahoSessionHolder.getSession();
}
@Override
public String generateRowLevelSecurityConstraint( LogicalModel model ) {
RowLevelSecurity rls = model.getRowLevelSecurity();
if ( rls == null || rls.getType() == RowLevelSecurity.Type.NONE ) {
return null;
}
Authentication auth = SecurityContextHolder.getContext().getAuthentication();
if ( auth == null ) {
logger.info( Messages.getInstance().getString( "SecurityAwareCwmSchemaFactory.INFO_AUTH_NULL_CONTINUE" ) ); //$NON-NLS-1$