| | |
| | | * |
| | | * |
| | | * Copyright 2007-2010 Sun Microsystems, Inc. |
| | | * Portions Copyright 2012-2013 ForgeRock AS |
| | | * Portions Copyright 2012-2014 ForgeRock AS |
| | | */ |
| | | |
| | | package org.opends.admin.ads; |
| | |
| | | import javax.naming.ldap.LdapContext; |
| | | |
| | | import org.opends.admin.ads.util.ConnectionUtils; |
| | | import org.opends.messages.Message; |
| | | import org.forgerock.i18n.LocalizableMessage; |
| | | import org.opends.quicksetup.Constants; |
| | | import org.opends.quicksetup.util.Utils; |
| | | import org.opends.server.schema.SchemaConstants; |
| | |
| | | } |
| | | catch (ADSContextException adce) |
| | | { |
| | | Message msg = ERR_ADS_MERGE.get( |
| | | LocalizableMessage msg = ERR_ADS_MERGE.get( |
| | | ConnectionUtils.getHostPort(getDirContext()), |
| | | ConnectionUtils.getHostPort(adsCtx.getDirContext()), |
| | | adce.getMessageObject()); |
| | |
| | | } |
| | | if (!notDefinedAdmins.isEmpty()) |
| | | { |
| | | Message msg = ERR_ADS_ADMINISTRATOR_MERGE.get( |
| | | LocalizableMessage msg = ERR_ADS_ADMINISTRATOR_MERGE.get( |
| | | ConnectionUtils.getHostPort(adsCtx.getDirContext()), |
| | | ConnectionUtils.getHostPort(getDirContext()), |
| | | Utils.getStringFromCollection(notDefinedAdmins, |