Package com.esri.gpt.catalog.lucene

Examples of com.esri.gpt.catalog.lucene.AclFilter


    AuthenticationStatus auth = this.requestContext.getUser().getAuthenticationStatus();
    boolean bAdmin = auth.getAuthenticatedRoles().hasRole("gptAdministrator");
    Filter filter = null;
    if (!bAdmin && !acl.isPolicyUnrestricted()) {
      String[] aclValues = acl.makeUserAcl();
      filter = new AclFilter(Storeables.FIELD_ACL,aclValues);
    }
    filter = IsPartOfFilter.make(this.getRequestContext(),filter);
    if (filter != null) {
      this.documentFilterBitSet = (OpenBitSet)filter.getDocIdSet(reader);
    }
View Full Code Here

TOP

Related Classes of com.esri.gpt.catalog.lucene.AclFilter

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.