continuum-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From eveni...@apache.org
Subject svn commit: r419008 - /maven/continuum/branches/continuum-acegi/continuum-webapp/src/main/resources/plexus-application.xml
Date Tue, 04 Jul 2006 13:55:33 GMT
Author: evenisse
Date: Tue Jul  4 06:55:30 2006
New Revision: 419008

URL: http://svn.apache.org/viewvc?rev=419008&view=rev
Log:
Start the conversion of spring conf file to plexus conf file

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

Modified: maven/continuum/branches/continuum-acegi/continuum-webapp/src/main/resources/plexus-application.xml
URL: http://svn.apache.org/viewvc/maven/continuum/branches/continuum-acegi/continuum-webapp/src/main/resources/plexus-application.xml?rev=419008&r1=419007&r2=419008&view=diff
==============================================================================
--- maven/continuum/branches/continuum-acegi/continuum-webapp/src/main/resources/plexus-application.xml
(original)
+++ maven/continuum/branches/continuum-acegi/continuum-webapp/src/main/resources/plexus-application.xml
Tue Jul  4 06:55:30 2006
@@ -279,6 +279,142 @@
     </component>
 
     <!--
+     | Acegi
+     -->
+    <component>
+      <role>org.acegisecurity.util.FilterChainProxy</role>
+      <implementation>org.acegisecurity.util.FilterChainProxy</implementation>
+      <configuration>
+        <filterInvocationDefinitionSource>
+            CONVERT_URL_TO_LOWERCASE_BEFORE_COMPARISON
+            PATTERN_TYPE_APACHE_ANT
+            /**=httpSessionContextIntegrationFilter,authenticationProcessingFilter,securityEnforcementFilter,filterSecurityInterceptor
+        </filterInvocationDefinitionSource>
+      </configuration>
+    </component>
+
+    <component>
+      <role>org.acegisecurity.providers.ProviderManager</role>
+      <implementation>org.acegisecurity.providers.ProviderManager</implementation>
+      <requirements>
+        <requirement>
+          <role>org.acegisecurity.providers.dao.DaoAuthenticationProvider</role>
+          <field-name>providers</field-name>
+        </requirement>
+      </requirements>
+    </component>
+
+    <component>
+      <role>org.acegisecurity.userdetails.memory.InMemoryDaoImpl</role>
+      <implementation>org.acegisecurity.userdetails.memory.InMemoryDaoImpl</implementation>
+      <configuration>
+        <userMap>
+          <marissa>koala,ROLE_USER,ROLE_SUPERVISOR</marissa>
+          <dianne>emu,ROLE_USER</dianne>
+          <scott>wombat,ROLE_USER</scott>
+        </userMap>
+      </configuration>
+    </component>
+
+    <component>
+      <role>org.acegisecurity.providers.dao.DaoAuthenticationProvider</role>
+      <implementation>org.acegisecurity.providers.dao.DaoAuthenticationProvider</implementation>
+      <requirements>
+        <requirement>
+          <role>org.acegisecurity.userdetails.memory.InMemoryDaoImpl</role>
+          <field-name>userDetailsService</field-name>
+        </requirement>
+      </requirements>
+    </component>
+
+    <component>
+      <role>org.acegisecurity.event.authentication.LoggerListener</role>
+      <implementation>org.acegisecurity.event.authentication.LoggerListener</implementation>
+    </component>
+
+    <component>
+      <role>org.acegisecurity.context.HttpSessionContextIntegrationFilter</role>
+      <implementation>org.acegisecurity.context.HttpSessionContextIntegrationFilter</implementation>
+    </component>
+
+    <component>
+      <role>org.acegisecurity.ui.ExceptionTranslationFilter</role>
+      <implementation>org.acegisecurity.ui.ExceptionTranslationFilter</implementation>
+      <requirements>
+        <requirement>
+          <role>org.acegisecurity.ui.webapp.AuthenticationProcessingFilterEntryPoint</role>
+          <field-name>authenticationEntryPoint</field-name>
+        </requirement>
+      </requirements>
+    </component>
+
+    <component>
+      <role>org.acegisecurity.ui.webapp.AuthenticationProcessingFilter</role>
+      <implementation>org.acegisecurity.ui.webapp.AuthenticationProcessingFilter</implementation>
+      <requirements>
+        <requirement>
+          <role>org.acegisecurity.providers.ProviderManager</role>
+          <field-name>authenticationManager</field-name>
+        </requirement>
+      </requirements>
+      <configuration>
+        <authenticationFailureUrl>/login!default.action?login_error=1</authenticationFailureUrl>
+        <defaultTargetUrl>/</defaultTargetUrl>
+        <filterProcessesUrl>/j_acegi_security_check</filterProcessesUrl>
+      </configuration>
+    </component>
+
+    <component>
+      <role>org.acegisecurity.ui.webapp.AuthenticationProcessingFilterEntryPoint</role>
+      <implementation>org.acegisecurity.ui.webapp.AuthenticationProcessingFilterEntryPoint</implementation>
+      <configuration>
+        <loginFormUrl>/login!default.action</loginFormUrl>
+        <forceHttps>false</forceHttps>
+      </configuration>
+    </component>
+
+    <component>
+      <role>org.acegisecurity.vote.AffirmativeBased</role>
+      <implementation>org.acegisecurity.vote.AffirmativeBased</implementation>
+      <requirements>
+        <requirement>
+          <role>org.acegisecurity.vote.RoleVoter</role>
+          <field-name>decisionVoters</field-name>
+        </requirement>
+      </requirements>
+      <configuration>
+        <allowIfAllAbstainDecisions>false</allowIfAllAbstainDecisions>
+      </configuration>
+    </component>
+
+    <component>
+      <role>org.acegisecurity.intercept.web.FilterSecurityInterceptor</role>
+      <implementation>org.acegisecurity.intercept.web.FilterSecurityInterceptor</implementation>
+      <requirements>
+        <requirement>
+          <role>org.acegisecurity.providers.ProviderManager</role>
+          <field-name>authenticationManager</field-name>
+        </requirement>
+        <requirement>
+          <role>org.acegisecurity.vote.AffirmativeBased</role>
+          <field-name>accessDecisionManager</field-name>
+        </requirement>
+      </requirements>
+      <configuration>
+        <objectDefinitionSource>
+          CONVERT_URL_TO_LOWERCASE_BEFORE_COMPARISON
+          PATTERN_TYPE_APACHE_ANT
+          /secure/**=ROLE_USER
+        </objectDefinitionSource>
+      </configuration>
+    </component>
+
+    <component>
+      <role>org.acegisecurity.vote.RoleVoter</role>
+      <implementation>org.acegisecurity.vote.RoleVoter</implementation>
+    </component>
+
+    <!--
      | Logger manager
      -->
     <component>



Mime
View raw message