Hello Sonja and cgriffith,
thanks for your replies.
yes - its a strange way to do a programmatic login but
i didn't found another way...
Authenticating via creating a LoginContext is the right way (and i tried it) 
but I need to propagate the principal through request.getPrincipal(). I need 
this because I'm using JBoss Portal and it's an elegant way to propagate the 
principal to portlets which are not in the same .war file.
A function like request.setPrincipal would be nice :-)
Maybe there is a way overriding the 
org.jboss.web.tomcat.security.FormAuthenticator class ?

Daniel




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

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

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