I assume that you used the installer jar to install JBoss. One of the installation screens asks if you want to secure the jmx console. You must have done that and provided a login id and password.
I think you can find the login id and password in the file server/default/conf/props/jmx-console-users.properties.
Thanks a lot, It really helped me out, You're pretty good