tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Digby <li...@digby.net>
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?

Digby


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 <jojada@speedlegal.com> 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()
>>methods.
>>Is there a way to get the user's password when the authentication type is
>>form-based or single-sign-on ?
>>
>>Thanks a lot.
>>Jo.-
>>
>>
>>---------------------------------------------------------------------
>>To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
>>For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
>>
>>


---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Mime
View raw message