[Smtk-developers] [Cmb-users] Dealing with passwords in attributes

David Thompson david.thompson at kitware.com
Mon Feb 1 08:36:54 EST 2016


> We have a use case where we need prompt the user for a password in order to launch jobs.  ...
> In order to provide support I can either add a "role" parameter to the string item indicating it is a password or create a special item/item def.
> ...
> Any comments?

If adding a "role" adjective to items, I would add it to the base Item time instead of just to String. It will be handy elsewhere just like in HTML5 (where roles are used by browsers to modify touchscreen keyboards depending on whether numbers, e-mail, or URLs are being entered[1]).

	David

[1]: http://html5tutorial.info/html5-contact.php


More information about the Smtk-developers mailing list