| | |
| | | * CDDL HEADER END |
| | | * |
| | | * |
| | | * Copyright 2009 Sun Microsystems, Inc. |
| | | * Copyright 2009-2010 Sun Microsystems, Inc. |
| | | */ |
| | | |
| | | package org.opends.guitools.controlpanel.ui; |
| | |
| | | import java.awt.event.ActionListener; |
| | | import java.io.IOException; |
| | | import java.util.ArrayList; |
| | | import java.util.Set; |
| | | import java.util.List; |
| | | |
| | | import javax.naming.ldap.InitialLdapContext; |
| | | import javax.swing.JButton; |
| | |
| | | sb.append("dn: "+dn); |
| | | for (String attrName : entryToDuplicate.getAttributeNames()) |
| | | { |
| | | Set<Object> values = entryToDuplicate.getAttributeValues(attrName); |
| | | List<Object> values = entryToDuplicate.getAttributeValues(attrName); |
| | | if (attrName.equalsIgnoreCase(ServerConstants.ATTR_USER_PASSWORD)) |
| | | { |
| | | sb.append("\n"); |