Package org.pentaho.metadata.util

Examples of org.pentaho.metadata.util.RowLevelSecurityHelper


    roles = new HashSet<String>();
    for ( GrantedAuthority role : auth.getAuthorities() ) {
      roles.add( role.getAuthority() );
    }

    RowLevelSecurityHelper helper = new SessionAwareRowLevelSecurityHelper();
    return helper.getOpenFormulaSecurityConstraint( rls, username, new ArrayList<String>( roles ) );
  }
View Full Code Here

TOP

Related Classes of org.pentaho.metadata.util.RowLevelSecurityHelper

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.