mirror of https://github.com/OpenIdentityPlatform/OpenDJ.git

jvergara
07.21.2008 c2250231e8cdd0e0046d70deb1c96f63e2317afa
Fix for issue 2249 (attributes are in pending mode after a setup with secure args)

The fix consists on simply not setting pending values. Since the code we are running only works with the server offline this approach is safe.
1 files modified
12 ■■■■ changed files
opends/src/server/org/opends/server/tools/ConfigureDS.java 12 ●●●● patch | view | raw | blame | history
opends/src/server/org/opends/server/tools/ConfigureDS.java
@@ -22,7 +22,7 @@
 * CDDL HEADER END
 *
 *
 *      Portions Copyright 2006-2007 Sun Microsystems, Inc.
 *      Portions Copyright 2006-2008 Sun Microsystems, Inc.
 */
package org.opends.server.tools;
import org.opends.messages.Message;
@@ -672,7 +672,7 @@
          BooleanConfigAttribute enablePortAttr =
            new BooleanConfigAttribute(ATTR_CONNECTION_HANDLER_ENABLED,
                INFO_LDAPS_CONNHANDLER_DESCRIPTION_ENABLE.get(),
                    true, true, true);
                    true, true);
          configEntry.putConfigAttribute(enablePortAttr);
        }
        catch (Exception e)
@@ -704,7 +704,7 @@
          BooleanConfigAttribute enablePortAttr =
            new BooleanConfigAttribute(ATTR_CONNECTION_HANDLER_ENABLED,
                INFO_JMX_CONNHANDLER_DESCRIPTION_ENABLE.get(),
                    true, true, true);
                    true, true);
          configEntry.putConfigAttribute(enablePortAttr);
        }
        catch (Exception e)
@@ -729,7 +729,7 @@
          BooleanConfigAttribute startTLS =
            new BooleanConfigAttribute(ATTR_ALLOW_STARTTLS,
                INFO_LDAP_CONNHANDLER_DESCRIPTION_ALLOW_STARTTLS.get(),
                    true, true, true);
                    true, true);
          configEntry.putConfigAttribute(startTLS);
        }
        catch (Exception e)
@@ -755,7 +755,7 @@
            BooleanConfigAttribute enableAttr =
              new BooleanConfigAttribute(ATTR_KEYMANAGER_ENABLED,
                  INFO_CONFIG_KEYMANAGER_DESCRIPTION_ENABLED.get(),
                      true, true, true);
                      true, true);
            configEntry.putConfigAttribute(enableAttr);
          }
          catch (Exception e)
@@ -841,7 +841,7 @@
            BooleanConfigAttribute enableAttr =
              new BooleanConfigAttribute(ATTR_TRUSTMANAGER_ENABLED,
                  ERR_CONFIG_TRUSTMANAGER_DESCRIPTION_ENABLED.get(),
                      true, true, true);
                      true, true);
            configEntry.putConfigAttribute(enableAttr);
          }
          catch (Exception e)