My security was working correctly until I made one change. I want my JBoss2.4.4, Tomcat 4.0.2 bundle to be accessible via port 80, not 8080. When I added the following line (in bold)
an old problem reappeared. I can login successfully from my form based login running from a web client, but when I access a findAll() EJB method, which is secured, a null pointer exception occurs.
I have only presented the problem in summary in the interests of brevity, I can supply more details as appropriate. Does anyone know the answer to this problem, or can you point me in the right direction please?
I found the following works:
i.e. insert the tag:
network ip address on host,
Where the address of the machine on which JBoss is running is 192.168.40.48, in this example.
Hope this is helpful for someone else.