continuum-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From car...@apache.org
Subject svn commit: r440202 - in /maven/continuum/branches/continuum-acegi/continuum-webapp/src/main: resources/META-INF/plexus/application.xml webapp/WEB-INF/web.xml
Date Mon, 04 Sep 2006 22:53:36 GMT
Author: carlos
Date: Mon Sep  4 15:53:35 2006
New Revision: 440202

URL: http://svn.apache.org/viewvc?view=rev&rev=440202
Log:
Add Acegi AnonymousProcessingFilter

Modified:
    maven/continuum/branches/continuum-acegi/continuum-webapp/src/main/resources/META-INF/plexus/application.xml
    maven/continuum/branches/continuum-acegi/continuum-webapp/src/main/webapp/WEB-INF/web.xml

Modified: maven/continuum/branches/continuum-acegi/continuum-webapp/src/main/resources/META-INF/plexus/application.xml
URL: http://svn.apache.org/viewvc/maven/continuum/branches/continuum-acegi/continuum-webapp/src/main/resources/META-INF/plexus/application.xml?view=diff&rev=440202&r1=440201&r2=440202
==============================================================================
--- maven/continuum/branches/continuum-acegi/continuum-webapp/src/main/resources/META-INF/plexus/application.xml
(original)
+++ maven/continuum/branches/continuum-acegi/continuum-webapp/src/main/resources/META-INF/plexus/application.xml
Mon Sep  4 15:53:35 2006
@@ -447,6 +447,34 @@
       </configuration>
     </component>
 
+    <component>
+      <role>org.acegisecurity.providers.anonymous.AnonymousProcessingFilter</role>
+      <implementation>org.acegisecurity.providers.anonymous.AnonymousProcessingFilter</implementation>
+      <requirements>
+        <requirement>
+          <role>org.acegisecurity.userdetails.memory.UserAttribute</role>
+          <role-hint>anonymous</role-hint>
+          <field-name>userAttribute</field-name>
+        </requirement>
+      </requirements>
+      <configuration>
+        <key>foobar</key>
+      </configuration>
+    </component>
+
+    <component>
+      <role>org.acegisecurity.userdetails.memory.UserAttribute</role>
+      <role-hint>anonymous</role-hint>
+      <implementation>org.acegisecurity.userdetails.memory.UserAttribute</implementation>
+      <component-composer>setter</component-composer>
+      <configuration>
+        <password>anonymousUser</password>
+        <authoritiesAsString>
+          <role>ROLE_ANONYMOUS</role>
+        </authoritiesAsString>
+      </configuration>
+    </component>
+
 
     <!-- authorization -->
 

Modified: maven/continuum/branches/continuum-acegi/continuum-webapp/src/main/webapp/WEB-INF/web.xml
URL: http://svn.apache.org/viewvc/maven/continuum/branches/continuum-acegi/continuum-webapp/src/main/webapp/WEB-INF/web.xml?view=diff&rev=440202&r1=440201&r2=440202
==============================================================================
--- maven/continuum/branches/continuum-acegi/continuum-webapp/src/main/webapp/WEB-INF/web.xml
(original)
+++ maven/continuum/branches/continuum-acegi/continuum-webapp/src/main/webapp/WEB-INF/web.xml
Mon Sep  4 15:53:35 2006
@@ -55,6 +55,7 @@
       <param-value>org.acegisecurity.ui.rememberme.RememberMeProcessingFilter</param-value>
     </init-param>
   </filter>
+-->
 
   <filter>
     <filter-name>Acegi AnonymousProcessingFilter</filter-name>
@@ -64,7 +65,6 @@
       <param-value>org.acegisecurity.providers.anonymous.AnonymousProcessingFilter</param-value>
     </init-param>
   </filter>
--->
 
   <filter>
     <filter-name>Acegi ExceptionTranslationFilter</filter-name>
@@ -121,12 +121,12 @@
     <filter-name>Acegi RememberMeProcessingFilter</filter-name>
     <url-pattern>/*</url-pattern>
   </filter-mapping>
+-->
 
   <filter-mapping>
     <filter-name>Acegi AnonymousProcessingFilter</filter-name>
     <url-pattern>/*</url-pattern>
   </filter-mapping>
--->
 
   <filter-mapping>
     <filter-name>Acegi ExceptionTranslationFilter</filter-name>



Mime
View raw message