| | |
| | | * |
| | | * |
| | | * Copyright 2008-2009 Sun Microsystems, Inc. |
| | | * Portions Copyright 2014-2015 ForgeRock AS |
| | | * Portions Copyright 2014-2016 ForgeRock AS |
| | | */ |
| | | package org.opends.guitools.controlpanel.task; |
| | | |
| | |
| | | { |
| | | for (BaseDNDescriptor baseDN : backend.getBaseDns()) |
| | | { |
| | | if (dn.isDescendantOf(baseDN.getDn())) |
| | | if (dn.isSubordinateOrEqualTo(baseDN.getDn())) |
| | | { |
| | | backendSet.add(backend.getBackendID()); |
| | | } |
| | |
| | | try |
| | | { |
| | | DN nodeDN = DN.valueOf(node.getDN()); |
| | | if (dn.isDescendantOf(nodeDN)) |
| | | if (dn.isSubordinateOrEqualTo(nodeDN)) |
| | | { |
| | | if (dn.size() == nodeDN.size() + 1) |
| | | { |