0

timeout.zul not called with Tomcat form authentication

asked 2009-07-06 11:27:16 +0800

rappr gravatar image rappr
48

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>

delete flag offensive retag edit

2 Replies

Sort by ยป oldest newest

answered 2009-07-08 08:15:35 +0800

rappr gravatar image rappr
48

Any ideas?

link publish delete flag offensive edit

answered 2009-07-16 10:13:00 +0800

rappr gravatar image rappr
48

Hi all,

it would be very kind if someone could give me a hint what I'm doing wrong.

Ralf

link publish delete flag offensive edit
Your reply
Please start posting your answer anonymously - your answer will be saved within the current session and published after you log in or create a new account. Please try to give a substantial answer, for discussions, please use comments and please do remember to vote (after you log in)!

[hide preview]

Question tools

Follow

RSS

Stats

Asked: 2009-07-06 11:27:16 +0800

Seen: 444 times

Last updated: Jul 16 '09

Support Options
  • Email Support
  • Training
  • Consulting
  • Outsourcing
Learn More