/**
* The ID used to identify the user.
*/
{
AdministratorProperty prop = AdministratorProperty.UID;
String attName = prop.getAttributeName();
StringArgument arg = new StringArgument(attName, null,
attName, false, false, true, Message.raw(""), null, null, null);
userAdminProperties.put(prop, arg);
}
/**
* The PASSWORD used to identify the user.
*/
{
// TODO : Allow file based password
AdministratorProperty prop = AdministratorProperty.PASSWORD;
String attName = prop.getAttributeName();
StringArgument arg = new StringArgument(attName, null,
attName, false, false, true, Message.raw(""), null, null, null);
userAdminProperties.put(prop, arg);
}
/**
* The DESCRIPTION used to identify the user.
*/
{
AdministratorProperty prop = AdministratorProperty.DESCRIPTION;
String attName = prop.getAttributeName();
StringArgument arg = new StringArgument(attName, null,
attName, false, false, true, Message.raw(""), null, null, null);
userAdminProperties.put(prop, arg);
}
/**
* The ADMINISTRATOR_DN used to identify the user.
*/
{
AdministratorProperty prop = AdministratorProperty.ADMINISTRATOR_DN;
String attName = prop.getAttributeName();
StringArgument arg = new StringArgument(attName, null,
attName, false, false, true, Message.raw(""), null, null, null);
userAdminProperties.put(prop, arg);
readonlyadminUserProperties.add(prop);
}
/**
* The PRIVILEGE associated to the user.
*/
{
AdministratorProperty prop = AdministratorProperty.PRIVILEGE;
String attName = prop.getAttributeName();
StringArgument arg = new StringArgument(attName, null,
attName, true, true, true, Message.raw(""), "root", null, null);
userAdminProperties.put(prop, arg);
}
}