I'll read up on that. However, the assumptions I have made on how the security 
layer works are irrelevant. The point is that I have posted two examples. In 
one, the security authentication works with my custom login module. In the 
other one, security authentication does not work.

The only change I've made between the two is to set java2ClassLoadingCompliance 
to "false".

I have not touched the tomcat realm configuration. Also, it doesn't matter if I 
use my own custom login module, or one of the ones supplied by the core jboss 
instalation (like the users roles login module). If I configure my application 
to use any of them it works, until I set java2ClassLoadingCompliance to "false".

The configuration I have posted does work in JBoss 3.2.3. I am reasonably 
confident that I have not configured extra security realms in tomcat 
configuration files. I started with a vanilla Jboss 3.2.3 installation with 
tomcat 4 embedded, and made the changes detailed in the first post. 
It works. 
When I change java2ClassLoadingCompliance to "false" (in either the 
application's jboss-web.xml or in 
jbossweb-tomcat41.sar/META-INF/jboss-service.xml then and only then does 
security stop working.

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3931928#3931928

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3931928


-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to