| | |
| | | * |
| | | * |
| | | * Copyright 2009-2010 Sun Microsystems, Inc. |
| | | * Portions Copyright 2012-2015 ForgeRock AS |
| | | * Portions Copyright 2012-2016 ForgeRock AS |
| | | */ |
| | | |
| | | package org.opends.guitools.controlpanel.ui; |
| | |
| | | else |
| | | { |
| | | aParentDN = nodeDN.parent(); |
| | | aRdn = nodeDN.rdn().getAttributeValue(0) + "-1"; |
| | | aRdn = nodeDN.rdn().getFirstAVA().getAttributeValue() + "-1"; |
| | | } |
| | | } |
| | | catch (DirectoryException de) |
| | |
| | | try |
| | | { |
| | | DN theDN = DN.valueOf(dn); |
| | | newValue = theDN.rdn().getAttributeValue(0).toString(); |
| | | newValue = theDN.rdn().getFirstAVA().getAttributeValue().toString(); |
| | | } |
| | | catch (DirectoryException de) |
| | | { |
| | |
| | | try |
| | | { |
| | | DN oldDN = DN.valueOf(entryToDuplicate.getDN()); |
| | | oldValue = oldDN.rdn().getAttributeValue(0).toString(); |
| | | oldValue = oldDN.rdn().getFirstAVA().getAttributeValue().toString(); |
| | | } |
| | | catch (DirectoryException de) |
| | | { |
| | |
| | | try |
| | | { |
| | | DN dn = DN.valueOf(sr.getDN()); |
| | | rdnAttribute = dn.rdn().getAttributeType(0).getNameOrOID(); |
| | | rdnAttribute = dn.rdn().getFirstAVA().getAttributeType().getNameOrOID(); |
| | | |
| | | updateDNValue(); |
| | | Boolean hasPassword = !sr.getAttributeValues( |