jbossas/jboss-as — pull request #1751 by fharms (2012-03-07 17:52:03+00:00)
Title: AS7-2757 adding functionality to CLI add-user to update a current user and roles

Refactored some of the stats because the user flow started to be strange when a user want to update his password and roles. Now as soon as he type a user name we check if it exists, and he will be asked if he want to proceed.

I tried to see if could find a way to "pre-input" fields with the current information, but the console API doesn't seem to support it. So I decide just to display the existing roles, and then the user has to retype them. If he leave the field empty it clear his existing roles.