-
FEATURED COMPONENTS
First time here? Check out the FAQ!
Hi,
I'm using form authentication with Tomcat.
When a timeout occurs the application just "stands" (does nothing on e.g. a click) instead of showing timeout.zul.
When I remove form authentication all works fine.
I configured timeout.zul to be shown without authentication.
Is there something that I missed?!
Here are the relevant config snippets.
zk.xml
<device-config> <device-type>ajax</device-type> <timeout-uri>/timeout.zul</timeout-uri> <!-- An empty URL can cause the browser to reload the same URL --> </device-config>
web.xml
<security-constraint> <web-resource-collection> <web-resource-name>secure all site</web-resource-name> <url-pattern>/*</url-pattern> </web-resource-collection> <auth-constraint> <role-name>MEMBER</role-name> </auth-constraint> <!-- SSL erzwingen --> <!-- user-data-constraint> <transport-guarantee>CONFIDENTIAL</transport-guarantee> </user-data-constraint --> </security-constraint> <security-constraint> <web-resource-collection> <web-resource-name>open access</web-resource-name> <url-pattern>/timeout.zul</url-pattern> </web-resource-collection> <user-data-constraint> <transport-guarantee>NONE</transport-guarantee> </user-data-constraint> </security-constraint> <login-config> <auth-method>FORM</auth-method> <form-login-config> <form-login-page>/logon.jsp</form-login-page> <form-error-page>/logon_failed.jsp</form-error-page> </form-login-config> </login-config> <security-role> <role-name>MEMBER</role-name> </security-role>
Asked: 2009-07-06 11:27:16 +0800
Seen: 444 times
Last updated: Jul 16 '09