DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUGĀ· RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://issues.apache.org/bugzilla/show_bug.cgi?id=39824>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED ANDĀ· INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=39824 Summary: Tomcat 5.5.16+ memory realm on context not work Product: Tomcat 5 Version: 5.5.17 Platform: Other OS/Version: Linux Status: NEW Severity: blocker Priority: P1 Component: Unknown AssignedTo: tomcat-dev@jakarta.apache.org ReportedBy: [EMAIL PROTECTED] Hi, I've encountered a serious problem with tomcat 5.5.16+ and memory realm in my context.xml app. The code: context.xml <?xml version="1.0" encoding="UTF-8"?> <Context path="/customers" unpackWAR="false"> <Realm className="org.apache.catalina.realm.MemoryRealm" pathname="conf/customers-users.xml" /> </Context> I've create a ${CATALINA_HOME}/conf/customers-users.xml: <?xml version='1.0' encoding='utf-8'?> <tomcat-users> <role rolename="default"/> <user username="theuser" password="thepassword" roles="default"/> </tomcat-users> ....and the web.xml (part of) <welcome-file-list> <welcome-file>index.jsp</welcome-file> </welcome-file-list> <security-constraint> <display-name>Example Security Constraint</display-name> <web-resource-collection> <web-resource-name>Protected Area</web-resource-name> <url-pattern>/*</url-pattern> </web-resource-collection> <auth-constraint> <role-name>default</role-name> </auth-constraint> </security-constraint> <login-config> <auth-method>BASIC</auth-method> <realm-name>CLIENT ACCESS</realm-name> </login-config> <security-role> <role-name>default</role-name> </security-role> Now, the problem: If i launch my app under tomcat 5.5.16+ the access popup form does not appear and the application server return a 401 error code, without any authentication!!!!!! If i ran the same webapp in tomcat 5.5.15 and earlier, my app works fine. Any idea?????? -- Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]