> From: long hong [mailto:longhong1...@gmail.com] 
> Subject: authentication fail (JNDI Realm with Tomcat )

> <security-constraint>
>   <web-resource-collection>
>     <web-resource-name>Entire Application</web-resource-name>
>     <url-pattern>/fs/*</url-pattern>

You probably want just /* in the above <url-pattern>; what you have now 
protects only the path /fs *under* your webapp.  (Either that, or your 
<web-resource-name> is very wrong.)

>     <auth-method>FORM</auth-method>

Easier to get things working with BASIC authentication first, then move on to 
the FORM variant.

 - Chuck


THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY 
MATERIAL and is thus for use only by the intended recipient. If you received 
this in error, please contact the sender and delete the e-mail and its 
attachments from all computers.


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

Reply via email to