mirror of https://github.com/OpenIdentityPlatform/OpenDJ.git

dugan
13.00.2007 6748a78dd685559342f027f9890c2e81931624f4
opends/src/server/org/opends/server/authorization/dseecompat/AciHandler.java
@@ -231,26 +231,12 @@
    private void processGlobalAcis(
        DseeCompatAccessControlHandlerCfg configuration)
    throws InitializationException {
        LinkedList<Message>failedACIMsgs=new LinkedList<Message>();
        SortedSet<String> globalAci = configuration.getGlobalACI();
        SortedSet<Aci> globalAcis = configuration.getGlobalACI();
        try {
            if (globalAci != null)   {
                LinkedHashSet<AttributeValue> attVals =
                  new LinkedHashSet<AttributeValue>(globalAci.size());
                for (String aci : globalAci)
                {
                  attVals.add(new AttributeValue(globalAciType,aci));
                }
                Attribute attr = new Attribute(globalAciType,
                        globalAciType.toString(),
                        attVals);
                Entry e = new Entry(configuration.dn(), null, null, null);
                e.addAttribute(attr, new ArrayList<AttributeValue>());
                int aciCount =  aciList.addAci(e, false, true, failedACIMsgs);
                if(!failedACIMsgs.isEmpty())
                    aciListenerMgr.logMsgsSetLockDownMode(failedACIMsgs);
            if (globalAcis != null)   {
                aciList.addAci(DN.nullDN(),globalAcis);
                Message message = INFO_ACI_ADD_LIST_GLOBAL_ACIS.get(
                    Integer.toString(aciCount));
                    Integer.toString(globalAcis.size()));
                logError(message);
            }  else {
                Message message = INFO_ACI_ADD_LIST_NO_GLOBAL_ACIS.get();