The SecurityGuide in the Procedure 19.1. Step 5. instructs users how to create an encrypted password by org.jboss.security.plugins.JaasSecurityDomain#encode64(String password) method invoked from the jmx-console. The problem is that no encode64 method with this signature exists in the JaasSecurityDomain. There is only a encode64(byte secret) which takes array of bytes instead of String. Hence, in order to generate an encrypted password the customer have to pass a comma-separated list of bytes of the password which is very incovenient.
I would suggest to add a encode64(String password) method to the JaasSecurityDomain to help users with creating their own encrypted passwords.
I've also filed a bugzilla for the documentation, see