I assume you are using a version of Tomcat 3.x.
Which form of login are you using, BASIC, FORM?

If using FORM see item 6.8 in the following document:

<http://jakarta.apache.org/tomcat/tomcat-3.2-doc/readme>

This issue applies to 3.3 as well.

Hope this helps.
Larry

> -----Original Message-----
> From: Ben Incani [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, September 25, 2001 11:53 PM
> To: [EMAIL PROTECTED]
> Subject: SimpleRealm
> 
> 
> I can't get SimpleRealm to work under Win32.
> 
> login window pops up but auth fails
> 
> here are the config files...
> 
> C:\tomcat\conf\tomcat-users.xml
> ...
> <tomcat-users>
>   <user name="blah" password="blah" roles="blah" />
> </tomcat-users>
> ...
> 
> C:\tomcat\webapps\javamail\WEB-INF\web.xml
> ...
> <web-app>
>       <display-name>JavaMail Test</display-name>
>       <security-constraint>
>               <web-resource-collection>
>                       <web-resource-name>JavaMail</web-resource-name>
>                       <url-pattern>/*</url-pattern>
>                       <http-method>GET</http-method>
>               </web-resource-collection>
>               <auth-constraint>
>                       <role-name>blah</role-name> 
>               </auth-constraint>
>       </security-constraint> 
> </web-app>
> ...
> 
> what am I doing wrong... does the domain need to be entered???
> 
> 
> Regards,
> 
> Ben.
> 

Reply via email to