Examples of supportsInheritedAcls()


Examples of com.google.enterprise.connector.filesystem.AclBuilder.AclProperties.supportsInheritedAcls()

        return;
      }
      long startTime = clock.getTimeMillis();
      AclProperties aclProps = context.getPropertyManager();
      boolean returnDirectories = root.getFileSystemType().supportsAcls()
        && aclProps.isPushAcls() && aclProps.supportsInheritedAcls()
        && !aclProps.isMarkAllDocumentsPublic();

      try {
        FileIterator iter = new FileIterator(root, context,
            getIfModifiedSince(startTime), returnDirectories);
View Full Code Here

Examples of com.google.enterprise.connector.pusher.GsaFeedConnection.supportsInheritedAcls()

  private void testInitTraversalContext(boolean gsaSupportsInheritedAcls,
      Boolean feedDisableInheritedAcls, boolean expectedSupportsInheritedAcls,
      boolean expectedSupportsDenyAcls) {
    SimpleTraversalContext simpleContext = new SimpleTraversalContext();
    GsaFeedConnection feeder = createMock(GsaFeedConnection.class);
    expect(feeder.supportsInheritedAcls())
        .andReturn(gsaSupportsInheritedAcls)
        .anyTimes();
    replay(feeder);
    Properties props = new Properties();
    if (feedDisableInheritedAcls != null) {
View Full Code Here

Examples of com.google.enterprise.connector.spi.SimpleTraversalContext.supportsInheritedAcls()

    Context out = Context.getInstance();
    out.initTraversalContext(simpleContext, props, feeder);

    assertEquals("supportsInheritedAcls", expectedSupportsInheritedAcls,
        simpleContext.supportsInheritedAcls());
    assertEquals("supportsDenyAcls", expectedSupportsDenyAcls,
        simpleContext.supportsDenyAcls());
  }
}
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.