tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Poornachandran <>
Subject Re: Use the tomcat authentification mecanisms in a webapp
Date Tue, 21 Feb 2006 09:16:49 GMT
Hi David,

I am just wondering after your app authenticates, are you able to get 
not-null from request.getUserPrincipal(). I understand this is how the 
container understands that user is logged on or not.


David Delbecq wrote:

>I probably will have the following webapp structure to configure
>- webapp X manage authentification all by itself (using forms and so on)
>but provide a way to configure your own credential using a quite basic
>checkPassword(user,pass) interface.
>- Tomcat is able to authenticate all my users for now (connecting to a
>ldap-like JNDI structure)
>Is there a way from the webapp to call tomcat api and have it check a
>user/password according to configured realm?
>To unsubscribe, e-mail:
>For additional commands, e-mail:

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

View raw message