0

ZK Include Tag spring security problem

asked 2012-12-22 08:36:34 +0800

fiendnet gravatar image fiendnet
8 1

i have include tag in the index page
i want secure it, with spring security
intercept-url tag in security config don't work

index.zul page :
<zk>
<include src = "/forms/firstpage.zul">
<zk>

in spring security config :
<http auto-config="true" once-per-request="false" use-expressions="true">
<intercept-url pattern="/forms/firstpage.zul" access="isAuthenticated()" />
<form-login login-page="/login.zul" authentication-failure-url="/login.zul?login_error=1" />
<logout logout-success-url="/login.zul"/>
</http>


in web.xml :
<filter>
<filter-name>springSecurityFilterChain</filter-name>
<filter-class>org.springframework.web.filter.DelegatingFilterProxy</filter-class>
</filter>

<filter-mapping>
<filter-name>springSecurityFilterChain</filter-name>
<url-pattern>/*</url-pattern>
<dispatcher>REQUEST</dispatcher>
<dispatcher>INCLUDE</dispatcher>
<dispatcher>FORWARD</dispatcher>
</filter-mapping>


i want secure included (/forms/firstpage.zul )


sorry for my english

delete flag offensive retag edit
Be the first one to reply this discussion!
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: 2012-12-22 08:36:34 +0800

Seen: 64 times

Last updated: Dec 22 '12

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