/opt/jboss/eap5.1.2/jboss-as/server/default/conf/props/jmx-console-users.properties
取消#admin=admin的注释,或者新添加user=pwd一行,则用户名为user密码为pwd.