[seam-commits] Seam SVN: r8228 - trunk.

seam-commits at lists.jboss.org seam-commits at lists.jboss.org
Tue May 20 02:22:06 EDT 2008


Author: shane.bryzak at jboss.com
Date: 2008-05-20 02:22:06 -0400 (Tue, 20 May 2008)
New Revision: 8228

Modified:
   trunk/seam21migration.txt
Log:
added notes for migrating security configuration

Modified: trunk/seam21migration.txt
===================================================================
--- trunk/seam21migration.txt	2008-05-20 01:04:37 UTC (rev 8227)
+++ trunk/seam21migration.txt	2008-05-20 06:22:06 UTC (rev 8228)
@@ -27,4 +27,18 @@
 -----------------------------
 
 If you need to configure which entity manager to use, this is now done on the 
-entity-loader component. See the documentation for details. 
\ No newline at end of file
+entity-loader component. See the documentation for details. 
+
+Security
+--------
+
+If you are using rule-based security in your project, the configuration for the 
+security rules in components.xml has changed.  Previously, the rules were configured
+as a property of the Identity component as such:
+
+  <security:identity security-rules="#{securityRules}" authenticate-method="#{authenticator.authenticate}"/>
+  
+In Seam 2.1, rule-based permission checks are now carried out by the RuleBasedPermissionResolver,
+requiring that it is configured with the security rules instead of Identity:
+
+  <security:rule-based-permission-resolver security-rules="#{securityRules}"/>
\ No newline at end of file




More information about the seam-commits mailing list