falcon-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From b...@apache.org
Subject falcon git commit: FALCON-1979 Update HttpClient versions to close security vulnerabilities
Date Tue, 24 May 2016 23:49:11 GMT
Repository: falcon
Updated Branches:
  refs/heads/master 3fb6e0e75 -> 234acfac5


FALCON-1979 Update HttpClient versions to close security vulnerabilities

Author: bvellanki <bvellanki@hortonworks.com>

Closes #159 from bvellanki/FALCON-1979


Project: http://git-wip-us.apache.org/repos/asf/falcon/repo
Commit: http://git-wip-us.apache.org/repos/asf/falcon/commit/234acfac
Tree: http://git-wip-us.apache.org/repos/asf/falcon/tree/234acfac
Diff: http://git-wip-us.apache.org/repos/asf/falcon/diff/234acfac

Branch: refs/heads/master
Commit: 234acfac55cfb604e956a689f1d2b2b9d2195bdd
Parents: 3fb6e0e
Author: bvellanki <bvellanki@hortonworks.com>
Authored: Tue May 24 16:49:05 2016 -0700
Committer: bvellanki <bvellanki@hortonworks.com>
Committed: Tue May 24 16:49:05 2016 -0700

----------------------------------------------------------------------
 pom.xml                                                          | 4 ++--
 .../apache/falcon/security/FalconAuthenticationFilterTest.java   | 2 ++
 2 files changed, 4 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/falcon/blob/234acfac/pom.xml
----------------------------------------------------------------------
diff --git a/pom.xml b/pom.xml
index 4a73b31..52af03e 100644
--- a/pom.xml
+++ b/pom.xml
@@ -1088,13 +1088,13 @@
             <dependency>
                 <groupId>org.apache.httpcomponents</groupId>
                 <artifactId>httpclient</artifactId>
-                <version>4.3.3</version>
+                <version>4.4.1</version>
             </dependency>
 
             <dependency>
                 <groupId>org.apache.httpcomponents</groupId>
                 <artifactId>httpcore</artifactId>
-                <version>4.3.2</version>
+                <version>4.4.1</version>
             </dependency>
 
             <dependency>

http://git-wip-us.apache.org/repos/asf/falcon/blob/234acfac/prism/src/test/java/org/apache/falcon/security/FalconAuthenticationFilterTest.java
----------------------------------------------------------------------
diff --git a/prism/src/test/java/org/apache/falcon/security/FalconAuthenticationFilterTest.java
b/prism/src/test/java/org/apache/falcon/security/FalconAuthenticationFilterTest.java
index 51a0c04..a618e03 100644
--- a/prism/src/test/java/org/apache/falcon/security/FalconAuthenticationFilterTest.java
+++ b/prism/src/test/java/org/apache/falcon/security/FalconAuthenticationFilterTest.java
@@ -150,6 +150,8 @@ public class FalconAuthenticationFilterTest {
         Assert.assertEquals(CurrentUser.getUser(), "nouser");
 
         CurrentUser.authenticate(FalconTestUtil.TEST_USER_2);
+        Mockito.when(mockRequest.getMethod()).thenReturn("GET");
+        Mockito.when(mockRequest.getQueryString()).thenReturn("");
         Mockito.when(mockRequest.getRemoteUser()).thenReturn(FalconTestUtil.TEST_USER_2);
         filter.doFilter(mockRequest, mockResponse, mockChain);
         Assert.assertEquals(CurrentUser.getUser(), FalconTestUtil.TEST_USER_2);


Mime
View raw message