Integrate Spring Security with ZK"
Line 11: | Line 11: | ||
So in this article, I'll introduce how to integrate Spring Security with ZK seamlessly by going through the construction of a simple demo application(An article publish and editing system). | So in this article, I'll introduce how to integrate Spring Security with ZK seamlessly by going through the construction of a simple demo application(An article publish and editing system). | ||
− | =Resources to Download | + | =Resources to Download = |
I use Git as my source control and has stored my code at Github, you can check out the demo project from [https://github.com/zanyking/smalltalk/tree/master/Spring_Security_Integration here]. | I use Git as my source control and has stored my code at Github, you can check out the demo project from [https://github.com/zanyking/smalltalk/tree/master/Spring_Security_Integration here]. | ||
Revision as of 05:34, 26 February 2013
Ian Tsai, Engineer, Potix Corporation
March 04, 2013
ZK 6.5.X, Spring Security 3.1.2
Introduction
Spring Security is a common solution for developer to serve security needs in a Java web application, it is widely used and is a proven technology. However, due to its nature to protect resources by pattern matching through URL, it's not that obvious for application developer to delegate Spring Security with general amount of ajax frameworks which use Json format in form to structure meta-information.
So in this article, I'll introduce how to integrate Spring Security with ZK seamlessly by going through the construction of a simple demo application(An article publish and editing system).
Resources to Download
I use Git as my source control and has stored my code at Github, you can check out the demo project from here.
If you are more comfortable to war format, you can get the archived project here.
Spring Security Configuration
Http Element Setting
Authentication Manager Setting
Protecting a Page Request
Login Page Implementation in ZK
Securing Partial View By Using EL in ZUL
ZK's Special Component Attributes for Security
Disable & Visible
ZK EE Sever-side Event Disablement Filtering
ZK Ajax Request Security Handling
Comments
Copyright © Potix Corporation. This article is licensed under GNU Free Documentation License. |