Package net.sf.regain.search.access

Examples of net.sf.regain.search.access.SearchAccessController


    if (indexConfigs.length >= 1) {

      for (int i = 0; i < indexConfigs.length; i++) {
        // Get the groups the current user has reading rights for
        String[] groupArr = null;
        SearchAccessController accessController = indexConfigs[i].getSearchAccessController();
        if (accessController != null) {
          groupArr = accessController.getUserGroups(request);
          // Check the Group array
          RegainToolkit.checkGroupArray(accessController, groupArr);
          groupsArr.addAll(Arrays.asList(groupArr));
        }
        // build composed result: all groups over all indeces the user has the rights.
View Full Code Here

TOP

Related Classes of net.sf.regain.search.access.SearchAccessController

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.