camel-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ningji...@apache.org
Subject svn commit: r962786 - in /camel/trunk: components/camel-spring-security/src/test/java/org/apache/camel/component/spring/security/ components/camel-spring-security/src/test/resources/org/apache/camel/component/spring/security/ tests/camel-itest/src/test...
Date Sat, 10 Jul 2010 08:19:01 GMT
Author: ningjiang
Date: Sat Jul 10 08:19:00 2010
New Revision: 962786

URL: http://svn.apache.org/viewvc?rev=962786&view=rev
Log:
CAMEL-2930 clean up the codes for wiki

Modified:
    camel/trunk/components/camel-spring-security/src/test/java/org/apache/camel/component/spring/security/SpringSecurityAuthorizationPolicyTest.java
    camel/trunk/components/camel-spring-security/src/test/resources/org/apache/camel/component/spring/security/commonSecurity.xml
    camel/trunk/tests/camel-itest/src/test/resources/org/apache/camel/itest/security/commonSecurity.xml

Modified: camel/trunk/components/camel-spring-security/src/test/java/org/apache/camel/component/spring/security/SpringSecurityAuthorizationPolicyTest.java
URL: http://svn.apache.org/viewvc/camel/trunk/components/camel-spring-security/src/test/java/org/apache/camel/component/spring/security/SpringSecurityAuthorizationPolicyTest.java?rev=962786&r1=962785&r2=962786&view=diff
==============================================================================
--- camel/trunk/components/camel-spring-security/src/test/java/org/apache/camel/component/spring/security/SpringSecurityAuthorizationPolicyTest.java
(original)
+++ camel/trunk/components/camel-spring-security/src/test/java/org/apache/camel/component/spring/security/SpringSecurityAuthorizationPolicyTest.java
Sat Jul 10 08:19:00 2010
@@ -53,7 +53,6 @@ public class SpringSecurityAuthorization
             sendMessageWithAuthentication("bob", "bobspassword", "ROLE_USER");
             fail("we should get the access deny exception here");
         } catch (Exception exception) {
-            exception.printStackTrace();
             // the exception should be caused by CamelAuthorizationException
             assertTrue("Expect CamelAuthorizationException here", exception.getCause() instanceof
CamelAuthorizationException);
         }

Modified: camel/trunk/components/camel-spring-security/src/test/resources/org/apache/camel/component/spring/security/commonSecurity.xml
URL: http://svn.apache.org/viewvc/camel/trunk/components/camel-spring-security/src/test/resources/org/apache/camel/component/spring/security/commonSecurity.xml?rev=962786&r1=962785&r2=962786&view=diff
==============================================================================
--- camel/trunk/components/camel-spring-security/src/test/resources/org/apache/camel/component/spring/security/commonSecurity.xml
(original)
+++ camel/trunk/components/camel-spring-security/src/test/resources/org/apache/camel/component/spring/security/commonSecurity.xml
Sat Jul 10 08:19:00 2010
@@ -22,11 +22,7 @@
        xsi:schemaLocation="http://www.springframework.org/schema/beans
 			http://www.springframework.org/schema/beans/spring-beans.xsd
 			http://www.springframework.org/schema/security
-			http://www.springframework.org/schema/security/spring-security-3.0.3.xsd">
-	
-	
-    <!-- bean id="authenticationManager" class="org.springframework.security.MockAuthenticationManager"/-->
-    
+			http://www.springframework.org/schema/security/spring-security.xsd">
 
     <bean id="accessDecisionManager" class="org.springframework.security.access.vote.AffirmativeBased">
         <property name="allowIfAllAbstainDecisions" value="true"/>

Modified: camel/trunk/tests/camel-itest/src/test/resources/org/apache/camel/itest/security/commonSecurity.xml
URL: http://svn.apache.org/viewvc/camel/trunk/tests/camel-itest/src/test/resources/org/apache/camel/itest/security/commonSecurity.xml?rev=962786&r1=962785&r2=962786&view=diff
==============================================================================
--- camel/trunk/tests/camel-itest/src/test/resources/org/apache/camel/itest/security/commonSecurity.xml
(original)
+++ camel/trunk/tests/camel-itest/src/test/resources/org/apache/camel/itest/security/commonSecurity.xml
Sat Jul 10 08:19:00 2010
@@ -37,8 +37,6 @@
         </property>
     </bean>
 
-    
-
     <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"/>



Mime
View raw message