struts Dude wrote:
hi
Using container managed authentication, can i relay request parameters(i.e.
username & password) to
loginAction after successful authentication?

Because I want to construct a User bean and add it to Session after
successful authentication
but request parameters seem to get lost.


Thanks
You can get the user's name using request.getUserPrincipal().getName(); however, for security reasons, you cannot get the user's password. If you must have the password, then you may need to use application-managed security (or SecurityFilter).

Bill Siggelkow


--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to