Hi,
In controller-services, for ex: HiveConnectionPool there is a property
called "Password". One of our clients who use nifi wish to add the
capability of hidden show (input type="password"). I understand property
list table is dynamically populated using jquery (please correct me if am
wrong).
Below is what i suggest:
When we mention like below in this case for password property:
public static final PropertyDescriptor DB_PASSWORD = new
PropertyDescriptor.Builder().name("hive-db-password")
.displayName("Password")
.description("The password for the database user")
.defaultValue(null)
.required(false)
.sensitive(true)
.addValidator(StandardValidators.NON_EMPTY_VALIDATOR)
.build();
i suggest to add
.hiddenshow(true) (or any other name)
so that frame work can add an jquery and css appropriately to build the
password like hidden show nature: "***********" ( we can even replace the
textarea tag to input type='password> ) only for these cases.
I would like to your views on this..
Thanks
Ramakrishnan V