| | |
| | | |
| | | import static org.forgerock.util.Utils.*; |
| | | import static org.opends.messages.AdminToolMessages.*; |
| | | import static org.opends.server.util.CollectionUtils.*; |
| | | |
| | | import java.awt.Component; |
| | | import java.awt.GridBagConstraints; |
| | |
| | | |
| | | import org.forgerock.i18n.LocalizableMessage; |
| | | import org.forgerock.i18n.slf4j.LocalizedLogger; |
| | | import org.forgerock.opendj.ldap.ByteString; |
| | | import org.forgerock.opendj.ldap.DN; |
| | | import org.forgerock.opendj.ldap.LinkedAttribute; |
| | | import org.opends.guitools.controlpanel.datamodel.ControlPanelInfo; |
| | | import org.opends.guitools.controlpanel.datamodel.CustomSearchResult; |
| | | import org.opends.guitools.controlpanel.datamodel.ServerDescriptor; |
| | |
| | | }; |
| | | for (int j=0; j < attrNames.length; j++) |
| | | { |
| | | ByteString o = ByteString.valueOfUtf8(values[j] + r.nextInt()); |
| | | csr.set(attrNames[j], newArrayList(o)); |
| | | final LinkedAttribute attr = new LinkedAttribute(attrNames[j]); |
| | | attr.add(values[j] + r.nextInt()); |
| | | csr.set(attr); |
| | | } |
| | | try |
| | | { |
| | |
| | | }; |
| | | for (int j=0; j < attrNames.length; j++) |
| | | { |
| | | ByteString o = ByteString.valueOfUtf8(values[j]); |
| | | csr.set(attrNames[j], newArrayList(o)); |
| | | final LinkedAttribute attr = new LinkedAttribute(attrNames[j]); |
| | | attr.add(values[j]); |
| | | csr.set(attr); |
| | | } |
| | | try |
| | | { |