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

jvergara
12.13.2007 1b27c7c1ed0b1fc38bfad640fb23de81af20a6f9
Update the code so that the adminUidArg is not added by default to the list of attributes.  It is up to the tools using this attribute to add it.
1 files modified
3 ■■■■ changed files
opends/src/server/org/opends/server/admin/client/cli/SecureConnectionCliArgs.java 3 ●●●● patch | view | raw | blame | history
opends/src/server/org/opends/server/admin/client/cli/SecureConnectionCliArgs.java
@@ -451,14 +451,13 @@
    argList.add(bindDnArg);
    // It is up to the classes that required admin UID to make this argument
    // visible
    // visible and add it.
    adminUidArg = new StringArgument("adminUID", 'I',
        "adminUID", false, false, true, "adminUID",
        Constants.GLOBAL_ADMIN_UID, null,
        INFO_DESCRIPTION_ADMIN_UID.get());
    adminUidArg.setPropertyName("adminUID");
    adminUidArg.setHidden(true);
    argList.add(adminUidArg);
    bindPasswordArg = new StringArgument("bindPassword",
        OPTION_SHORT_BINDPWD, OPTION_LONG_BINDPWD, false, false, true,