Examples of publishDefaultAcls()


Examples of org.pentaho.platform.engine.security.acls.AclPublisher.publishDefaultAcls()

  public void testPublisher() {
    AclPublisher publisher = new AclPublisher( defaultAcls );
    assertNotNull( publisher );

    RepositoryFile rootFile = getPopulatedSolution();
    publisher.publishDefaultAcls( rootFile );
    checkAcls( rootFile );
  }

  public static RepositoryFile getPopulatedSolution() {
    RepositoryFile root = new RepositoryFile( "root", null, null ); //$NON-NLS-1$
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.