Raible's Wiki
Raible Designs AppFuseHomepage- Korean - Chinese - Italian - Japanese QuickStart Guide User Guide Tutorials Other ApplicationsStruts ResumeSecurity Example Struts Menu
Set your name in
UserPreferences
Referenced by
JSPWiki v2.2.33
Hide Menu |
This is version 6.
It is not the current version, and thus it cannot be edited. AppFuse has used Container-Managed Authentication since it was first created. However, in version 1.8, this was replaced with the Acegi Security Framework for Spring. The main reasons for this can be found on raibledesigns.com. The purpose of this page is to describe what I did to integrate Acegi Security into 1.8. Hopefull you can use this to change your pre-1.8 applications to Acegi Security if you like. The nice thing about migrating to Acegi Security is your application becomes more portable and you don't have to worry about configuring your application server. Also, there weren't many code changes involved in the integration process - which proves Acegi Security works very well with all the existing code that talks to the security methods of the Servlet API (i.e. request.isUserInRole(), etc.) Part II of this tutorial shows you how to remove Acegi Security from AppFuse and revert back to Container-Managed Authentication. NOTE: This tutorial is in progress - please don't use it until this message is gone.Table of Contents
Add Acegi Security JARs to your project [#1]Create applicationContext-security.xml [#2]Configure filters and filter-mappings [#3]Add an "enabled" variable to the User object [#4]
Configure logging for Acegi Security [#5]Remove setting from LoginServlet.java to catch duplicate logins [#6]
|