From a2bc3989158cd2ab2ddabe97335cc9325674281c Mon Sep 17 00:00:00 2001 From: Luke Taylor Date: Mon, 27 Jun 2005 21:56:13 +0000 Subject: [PATCH] Refactoring and commenting XSL --- core/src/main/resources/web-to-spring.xsl | 208 ++++++++++++---------- 1 file changed, 109 insertions(+), 99 deletions(-) diff --git a/core/src/main/resources/web-to-spring.xsl b/core/src/main/resources/web-to-spring.xsl index 7c55d133e9..e88246aecd 100644 --- a/core/src/main/resources/web-to-spring.xsl +++ b/core/src/main/resources/web-to-spring.xsl @@ -5,20 +5,25 @@ | $Id$ --> - + - + - + + + ROLE_ @@ -27,7 +32,9 @@ - + /**=httpSessionContextIntegrationFilter @@ -44,8 +51,9 @@ ,rememberMeProcessingFilter,anonymousProcessingFilter,securityEnforcementFilter - - + @@ -57,6 +65,10 @@ + ======================== AUTHENTICATION ======================= @@ -110,9 +122,26 @@ - + - + + + + + + + + + + + + + + + @@ -132,23 +161,29 @@ - - - - - - - - - - - - - + | Converts a form login configuration to an Acegi AuthenticationProcessingFilter and its entry point. + | The content of the form-login-page element is used for the loginFormUrl property of the entry point + | and the form-error-page is used for the authenticationFailureUrl property of the filter. + | + | The user must manually change the form Url to "j_acegi_security_check" in their login page. + --> + + Processing form login configuration + Remember to switch your login form action from "j_security_check" to "j_acegi_security_check" + + + + + + /j_acegi_security_check + + + + + false + + - - Processing form login configuration - Remember to switch your login form action from "j_security_check" to "j_acegi_security_check" + + + false + + + + + + - - - - - /j_acegi_security_check - - - - - - false - - - - - - - false - - - - - - - - + An access decision voter that reads ROLE_* configuration settings - + Note the order that entries are placed against the objectDefinitionSource is critical. The FilterSecurityInterceptor will work from the top of the list down to the FIRST pattern that matches the request URL. Accordingly, you should place MOST SPECIFIC (ie a/b/c/d.*) expressions first, with LEAST SPECIFIC (ie a/.*) expressions last - - - - - - - CONVERT_URL_TO_LOWERCASE_BEFORE_COMPARISON - PATTERN_TYPE_APACHE_ANT - - - - - + + + + + + + CONVERT_URL_TO_LOWERCASE_BEFORE_COMPARISON + PATTERN_TYPE_APACHE_ANT + + + + + - - - = - - - - - - - ROLE_ - - - - , - - - + + + + = + + + + + + + ROLE_ + + + + , + + + - - - ROLE_ - - , - - -