0

zk work with the spring security3.0

asked 2010-04-29 04:02:42 +0800

zhanyingzi gravatar image zhanyingzi
9

hi,
I add zk in the project "spring-security-sample 3.0.2" .
following these steps,but i got exception,did i miss something?

First, add the lib the zkspring-core;zkspring-security.
second, add the xsd in applicationContext-security.xml,and add the event config.
third...

i got the contextLoading fail exception: appreciate for your reply :)

org.springframework.beans.factory.BeanCreationException: Error creating bean wit
h name 'zkEventProcessInterceptor': Invocation of init method failed; nested exc
eption is java.lang.IllegalArgumentException: AccessDecisionManager does not sup
port secure object class: class org.zkoss.zk.ui.event.Event

i can't not understand. i use the zk5.0.1

delete flag offensive retag edit

2 Replies

Sort by ยป oldest newest

answered 2011-06-08 05:07:46 +0800

riczun gravatar image riczun
36 2
www.riczun.nl

I am getting exactly the same error. I'm using ZK 5.0.5. I double checked if have al the right libs, but that should not be the problem.

I followed http://books.zkoss.org/wiki/Small_Talks/2010/April/Ajax_Based_Login_with_ZK_and_Spring_Security_System and when i create a project and import the ZK Spring Integration Library 3.0RC War file it is working.

Do i miss some configuration?

link publish delete flag offensive edit

answered 2012-12-01 15:49:45 +0800

daquan198163 gravatar image daquan198163
9 1

ZK doesn't work with expressions in spring like this
<http auto-config='true' use-expressions="true"

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: 2010-04-29 04:02:42 +0800

Seen: 486 times

Last updated: Dec 01 '12

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