Package org.pentaho.platform.engine.security.acls

Examples of org.pentaho.platform.engine.security.acls.AclPublisher


        .put( new SimpleRole( "ROLE_POWER_USER" ), new SimplePermissionMask( IPentahoAclEntry.PERM_FULL_CONTROL ) ); //$NON-NLS-1$
    defaultAcls.put( new SimpleRole( "ROLE_AUTHENTICATED" ), new SimplePermissionMask( IPentahoAclEntry.PERM_EXECUTE ) ); //$NON-NLS-1$
  }

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

    RepositoryFile rootFile = getPopulatedSolution();
    publisher.publishDefaultAcls( rootFile );
    checkAcls( rootFile );
  }
View Full Code Here

TOP

Related Classes of org.pentaho.platform.engine.security.acls.AclPublisher

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.