How mask password field

I'm developing a notifier plugin for TeamCity. In this plugin, they are some fields for informations that the user need to provide, including username and password (for my application). What I would like to know is if there's a way to "hide" the typed password information (displaying just ****** for example). To display the fields in TeamCity, I used

private static final String TYPE = "myNotifier";
userProps.add(new UserPropertyInfo(MY_PASSWORD, "Password"));
get_Password = user.getPropertyValue(new NotificatorPropertyKey(TYPE, MY_PASSWORD));

UPDATE: I saw some discussion about this in here, and the solicitations for adding this feature. However, I didn't find any solution. Does anyone know if a solution for this problem was found?

Thanks a lot,

Please sign in to leave a comment.