>From your message i can deduce your config..

But it seems you are using some tomcat ( which version?) behind a iis
server?

In the case you are using Tomcat 3.3 and Isapi_redirector, you can add
the attribute tomcatAuthentication="true" to ajp12 or ajp13 interceptor,
and totally shutdown any auth on IIS , this will solve the problem..
this lets tomcat to do auth by itself not using at all any auth done in
IIS.


Saludos ,
Ignacio J. Ortega


> -----Mensaje original-----
> De: Ben Incani [mailto:[EMAIL PROTECTED]]
> Enviado el: mi�rcoles 26 de septiembre de 2001 5:53
> Para: [EMAIL PROTECTED]
> Asunto: 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