Repository: camel
Updated Branches:
  refs/heads/master 9da5226bb -> 51dc21cd3


Fixed test after spring security upgrade


Project: http://git-wip-us.apache.org/repos/asf/camel/repo
Commit: http://git-wip-us.apache.org/repos/asf/camel/commit/51dc21cd
Tree: http://git-wip-us.apache.org/repos/asf/camel/tree/51dc21cd
Diff: http://git-wip-us.apache.org/repos/asf/camel/diff/51dc21cd

Branch: refs/heads/master
Commit: 51dc21cd3f6b0575adc85248453ead393e6c9be9
Parents: 9da5226
Author: Claus Ibsen <davscl...@apache.org>
Authored: Sun Mar 13 08:58:15 2016 +0100
Committer: Claus Ibsen <davscl...@apache.org>
Committed: Sun Mar 13 08:58:15 2016 +0100

----------------------------------------------------------------------
 .../org/apache/camel/itest/security/commonSecurity.xml       | 8 +++-----
 1 file changed, 3 insertions(+), 5 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/camel/blob/51dc21cd/tests/camel-itest/src/test/resources/org/apache/camel/itest/security/commonSecurity.xml
----------------------------------------------------------------------
diff --git 
a/tests/camel-itest/src/test/resources/org/apache/camel/itest/security/commonSecurity.xml
 
b/tests/camel-itest/src/test/resources/org/apache/camel/itest/security/commonSecurity.xml
index db54985..acc2af0 100644
--- 
a/tests/camel-itest/src/test/resources/org/apache/camel/itest/security/commonSecurity.xml
+++ 
b/tests/camel-itest/src/test/resources/org/apache/camel/itest/security/commonSecurity.xml
@@ -29,12 +29,10 @@
     </spring-security:authentication-manager>
 
     <bean id="accessDecisionManager" 
class="org.springframework.security.access.vote.AffirmativeBased">
+        <constructor-arg index="0">
+          <bean class="org.springframework.security.access.vote.RoleVoter"/>
+        </constructor-arg>
         <property name="allowIfAllAbstainDecisions" value="true"/>
-        <property name="decisionVoters">
-            <list>
-                <bean 
class="org.springframework.security.access.vote.RoleVoter"/>
-            </list>
-        </property>
     </bean>
 
     <spring-security:user-service id="userDetailsService">

Reply via email to