I don't think password is ever intended to be exposed to the webapp ... just the username. Is there a reason you need the password?

--David

lmk wrote:
I dont found how to get the user password...j_password  parameter is not in
request nor session .




lmk wrote:
Im using tomcat Realm..

I can even get the user password!!

thanks..



rpr_listas wrote:
Hi, lmk!

Your JAAS module is a tomcat Realm? If you develop a tomcat realm you can access the user data via the standard servlet API.

HttpServletRequest.getRemoteUser();
HttpServletRequest.getUserPrincipal();

regards.
Ricardo.

lmk escribió:
Hii,

I developed a JAAS module for authentication, and I deployed it on the
tomcat server. I'd like to display the login name on the web app after
authenticatiobn succeed.how to find it ..?

can i finf it on the session?? or must use the Callbackhandler object..?

regards!!!

---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]






---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to