You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by bv...@apache.org on 2018/04/18 20:52:13 UTC

[camel] branch master updated: fix the failing GreeterClientTest tests on the ci-server

This is an automated email from the ASF dual-hosted git repository.

bvahdat pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/camel.git


The following commit(s) were added to refs/heads/master by this push:
     new c977843  fix the failing GreeterClientTest tests on the ci-server
c977843 is described below

commit c977843c0d0de7eba4aabc8216044e2bdae090b9
Author: Babak Vahdat <bv...@apache.org>
AuthorDate: Wed Apr 18 22:52:05 2018 +0200

    fix the failing GreeterClientTest tests on the ci-server
---
 .../resources/org/apache/camel/itest/security/commonSecurity.xml    | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

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 1213beb..3b654d9 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
@@ -27,7 +27,9 @@
 			http://www.springframework.org/schema/security/spring-security.xsd">
 
     <spring-security:authentication-manager alias="authenticationManager">
-    	<spring-security:authentication-provider user-service-ref="userDetailsService"/>
+    	<spring-security:authentication-provider user-service-ref="userDetailsService">
+    		<spring-security:password-encoder ref="passwordEncoder"/>
+    	</spring-security:authentication-provider>
     </spring-security:authentication-manager>
 
     <bean id="accessDecisionManager" class="org.springframework.security.access.vote.AffirmativeBased">
@@ -37,6 +39,8 @@
         <property name="allowIfAllAbstainDecisions" value="true"/>
     </bean>
 
+    <bean id="passwordEncoder" class="org.springframework.security.crypto.password.NoOpPasswordEncoder"/>
+
     <spring-security:user-service id="userDetailsService">
         <spring-security:user name="jim" password="jimspassword" authorities="ROLE_USER, ROLE_ADMIN"/>
         <spring-security:user name="bob" password="bobspassword" authorities="ROLE_USER"/>

-- 
To stop receiving notification emails like this one, please contact
bvahdat@apache.org.