JBoss.org Community Documentation
[3] The Java Authentication and Authorization Service. JBoss uses JAAS to provide pluggable authentication modules. You can use the ones that are provided or write your own if you have more specific requirements.
[4] Since the username and password are session variables in the web browser you may need to restart your browser to use the login dialog window.