tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Poornachandran <chandran.poo...@gmail.com>
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.

Poorna

David Delbecq wrote:

>Hello,
>
>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?
>
>Thanks.
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
>For additional commands, e-mail: users-help@tomcat.apache.org
>
>
>  
>

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


Mime
View raw message