I have created a application where simple "login.jsp" page accepts a username 
and password . A servlet filter
intercepts it and authenticates the user using the JAAS login Databasemodule 
successfully. Then the request 
is forwarded to the requested action class.

Now in the action class when the request.getUserPrincipal is called ,its 
returning NULL.
How can I set the user credentials in the
HttpServletRequest once the user is authenticated. Can the jboss do this 
automatically. 

I am using jboss4.0sp1 and FormBasedAuthentication.

Thanks

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

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


-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to