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.
| | |
| | | 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, |