I try doing similar things and I'm stuck, too ;-(
In a way I'd like to replace j_security_check - Unfortunately I can't find the 
source code of that servlet ... 

This is my first trial:

A backing bean creates a LoginContext and uses the security-domain I specified 
in login-config.xml (with DatabaseServerLoginModule) and the AppCallbackHandler 
(I just tried that one, perhaps it is the wrong one?).  The authentification 
succeds, but what do I do with the Subject I got from loginContext.getSubject() 
?
Can I set it anywhere into a jboss-security Class? Do I have to cast it to 
something else? To get the Roles out of it? 

Is everything much more complicated than I thought ? ;-)


Thanks!

sonja



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

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

Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to