tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Digby <>
Subject Re: How to get user's password from tomcat
Date Sat, 04 Jun 2005 18:53:18 GMT
I'm not sure you're supposed to be able to get it. Also, what would you 
expect to get if the password was hashed?

Can you not just read the password from the database / ldap source?


Larry Meadors wrote:
> The principle may contain it, but you would have to get it via
> reflection or cast it to it's original type to see it.
> Larry
> On 6/2/05, Jo <> wrote:
>>Hi all,
>>Once Tomcat has authenticated a login, we can get the the authenticated
>>user's name from the request's getRemoteUser() or getUserPrincipal()
>>Is there a way to get the user's password when the authentication type is
>>form-based or single-sign-on ?
>>Thanks a lot.
>>To unsubscribe, e-mail:
>>For additional commands, e-mail:

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message