-
FEATURED COMPONENTS
First time here? Check out the FAQ!
ZK 3.6.0
(bit of a newbie at this, so patience!)
I am trying to introduce custom authentication to the zkspringsec2 example
(http://docs.zkoss.org/wiki/Ajax_Based_Login_with_ZK_and_Spring_Security_System)
as I need to validate user login using a web service (.Net !).
I have plugged in the custom authenication part into spring and that appears ok but when I 'uncomment' the following segment in the security descriptor
<zksp:zk-event login-template-close-delay="5">
<zksp:intercept-event event="onClick" path="//**/btn_*" access="ROLE_TELLER"/>
<zksp:intercept-event path="/**" access="IS_AUTHENTICATED_ANONYMOUSLY"/>
</zksp:zk-event>
I get - No bean named '_formLoginFilter' is defined exception. I believe I do need this part in place as while the user validation suceeds, I just get internal errors on login
Now looking at schema I though I could get around this by defining a form-login within the zk:event but I then
get an exception that indicates that only the intercept-events are allowed
<zksp:form-login login-page="/login.zul" authentication-failure-url="/errorpage.zul"
login-ok-url="/secure/index.jsp"/>
Any help or direction appreciated
BTW the custom login is based on this example
http://tejakantamneni.blogspot.com/2008/08/spring-security-using-custom.html
Daniel
Asked: 2009-03-13 12:47:04 +0800
Seen: 970 times
Last updated: Oct 11 '10