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