continuum-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From car...@apache.org
Subject svn commit: r431492 - /maven/continuum/branches/continuum-acegi/continuum-webapp/src/main/resources/META-INF/plexus/application.xml
Date Tue, 15 Aug 2006 02:30:44 GMT
Author: carlos
Date: Mon Aug 14 19:30:44 2006
New Revision: 431492

URL: http://svn.apache.org/viewvc?rev=431492&view=rev
Log:
Restore config lost in last merge

Modified:
    maven/continuum/branches/continuum-acegi/continuum-webapp/src/main/resources/META-INF/plexus/application.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?rev=431492&r1=431491&r2=431492&view=diff
==============================================================================
--- 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 Aug 14 19:30:44 2006
@@ -279,6 +279,207 @@
     </component>
 
     <!--
+     | ACEGI Configuration
+     -->
+     
+    <!-- Authentication -->
+
+<!--
+    <component>
+      <role>org.acegisecurity.util.FilterChainProxy</role>
+      <implementation>org.acegisecurity.util.FilterChainProxy</implementation>
+      <requirements>
+        <requirement>
+          <role>org.acegisecurity.intercept.web.FilterInvocationDefinitionMap</role>
+          <field-name>filterInvocationDefinitionSource</field-name>
+        </requirement>
+      </requirements>
+      <configuration>
+        <filterInvocationDefinitionSource>
+            CONVERT_URL_TO_LOWERCASE_BEFORE_COMPARISON
+            PATTERN_TYPE_APACHE_ANT
+            /**=httpSessionContextIntegrationFilter,authenticationProcessingFilter,exceptionTranslationFilter,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>
+
+    <!-- In memory database used only for testing -->
+    <!-- Remember to remove passwordEncoder from org.acegisecurity.providers.dao.DaoAuthenticationProvider
-->
+<!--
+    <component>
+      <role>org.acegisecurity.userdetails.UserDetailsService</role>
+      <implementation>org.acegisecurity.userdetails.memory.InMemoryDaoImpl</implementation>
+      <configuration>
+        <userProperties>
+          <property>
+            <name>marissa</name>
+            <value>koala,ROLE_USER,ROLE_SUPERVISOR</value>
+          </property>
+          <property>
+            <name>dianne</name>
+            <value>emu,ROLE_USER</value>
+          </property>
+          <property>
+            <name>scott</name>
+            <value>wombat,ROLE_USER</value>
+          </property>
+        </userProperties>
+      </configuration>
+    </component>
+-->
+    <!-- Bridge between Acegi and Continuum database -->
+    <component>
+      <role>org.acegisecurity.userdetails.UserDetailsService</role>
+      <implementation>org.apache.maven.continuum.security.acegi.ContinuumUserDetailsService</implementation>
+      <requirements>
+        <requirement>
+          <role>org.apache.maven.continuum.store.ContinuumStore</role>
+        </requirement>
+      </requirements>
+    </component>
+
+    <component>
+      <role>org.acegisecurity.providers.dao.DaoAuthenticationProvider</role>
+      <implementation>org.acegisecurity.providers.dao.DaoAuthenticationProvider</implementation>
+      <requirements>
+        <requirement>
+          <role>org.acegisecurity.userdetails.UserDetailsService</role>
+          <field-name>userDetailsService</field-name>
+        </requirement>
+      </requirements>
+      <configuration>
+        <passwordEncoder implementation="org.acegisecurity.providers.encoding.ShaPasswordEncoder"/>
+      </configuration>
+    </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>/summary.action</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>
+
+
+    <!-- authorization -->
+
+    <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 implementation="org.acegisecurity.intercept.web.FilterInvocationDefinitionDecorator">
+          <decorated implementation="org.acegisecurity.intercept.web.PathBasedFilterInvocationDefinitionMap"/>
+          <convertUrlToLowercaseBeforeComparison>true</convertUrlToLowercaseBeforeComparison>
+          <mappings>
+            <filterInvocationDefinitionSourceMapping>
+              <url>/secure/**</url>
+              <configAttributes>
+                <configAttribute>ROLE_user</configAttribute>
+              </configAttributes>
+            </filterInvocationDefinitionSourceMapping>
+            <filterInvocationDefinitionSourceMapping>
+              <url>/add*project*</url>
+              <configAttributes>
+                <configAttribute>ROLE_addProject</configAttribute>
+              </configAttributes>
+            </filterInvocationDefinitionSourceMapping>
+            <filterInvocationDefinitionSourceMapping>
+              <url>/schedules*</url>
+              <configAttributes>
+                <configAttribute>ROLE_manageSchedule</configAttribute>
+              </configAttributes>
+            </filterInvocationDefinitionSourceMapping>
+            <filterInvocationDefinitionSourceMapping>
+              <url>/configuration*</url>
+              <configAttributes>
+                <configAttribute>ROLE_manageConfiguration</configAttribute>
+              </configAttributes>
+            </filterInvocationDefinitionSourceMapping>
+          </mappings>
+        </objectDefinitionSource>
+      </configuration>
+    </component>
+
+    <component>
+      <role>org.acegisecurity.vote.RoleVoter</role>
+      <implementation>org.acegisecurity.vote.RoleVoter</implementation>
+    </component>
+
+    <!--
      | Logger manager
      -->
     <component>



Mime
View raw message