Okay I found a solution. This problem was already posted as a bug on sourceforge (#1040200) and is resolved in JBoss 4.0.1RC1. There is also a description for a temporary workaround which works fine.
I did exactly the same things as you did after adding the security-domain, but an exception that is slightly different from yours occurred when I managed to logon to the application :
Your request cannot be completed. The server got the following error:
javax.servlet.jsp.JspTagException: javax.servlet.jsp.el.ELException: An error occurred while getting property "accounts" from an instance of class com.sun.ebank.web.CustomerBean
Unfortunately, the bug posted on sourceforge (#1040200) is no longer existed. I would like to know if replacing JBoss-4.0.0 with JBoss-4.0.1RC1 is the only solution to the problem?
Any suggestions are appreciated!
You can look at the sourceforge bug here:
I looked at the sourceforge bug and got this to work for me for the web-app.
I'm wondering how I can add authentication ability like this to the app-client. Can someone point me in the right direction?
I guess I'm wondering if there is some default LoginDialog in the client jars that can be made to pop up when authentication is needed. Or if not, where/how do I provide code for my own login dialog.