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