Integrate Spring Security with ZK
From Documentation
Author
Ian Tsai, Engineer, Potix Corporation
Ian Tsai, Engineer, Potix Corporation
Date
March 04, 2013
March 04, 2013
Version
ZK 6.5.X, Spring Security 3.1.2
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 any ajax framework which normally use Json format in form to structure meta-information.
In this article I'll discuss how to integrate Spring Security with ZK and make them cooperate to each other seamlessly.
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. |