I don't think we want to maintain a copy of the "create user" logic from JBoss.  Instead, let's use the same strategy in EAP as we use in the other app servers:  use ant's "input" task to get the password and then simply validate it immediately.

So please revert this code, remove the "create user" task and instead simply insert a "validate password" task after the input.  This should allow you to remove the copy/pasted AddPropertiesUser class.