cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cohei...@apache.org
Subject cxf git commit: Minor change
Date Thu, 25 Feb 2016 16:50:28 GMT
Repository: cxf
Updated Branches:
  refs/heads/3.1.x-fixes 9368e4bc9 -> 1c17a94b0


Minor change


Project: http://git-wip-us.apache.org/repos/asf/cxf/repo
Commit: http://git-wip-us.apache.org/repos/asf/cxf/commit/1c17a94b
Tree: http://git-wip-us.apache.org/repos/asf/cxf/tree/1c17a94b
Diff: http://git-wip-us.apache.org/repos/asf/cxf/diff/1c17a94b

Branch: refs/heads/3.1.x-fixes
Commit: 1c17a94b0adf40fd6193b9fcf2a87ce9a686a131
Parents: 9368e4b
Author: Colm O hEigeartaigh <coheigea@apache.org>
Authored: Thu Feb 25 16:50:12 2016 +0000
Committer: Colm O hEigeartaigh <coheigea@apache.org>
Committed: Thu Feb 25 16:50:12 2016 +0000

----------------------------------------------------------------------
 .../jaxrs/security/oauth2/common/WSS4JBasicAuthFilter.java        | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cxf/blob/1c17a94b/systests/rs-security/src/test/java/org/apache/cxf/systest/jaxrs/security/oauth2/common/WSS4JBasicAuthFilter.java
----------------------------------------------------------------------
diff --git a/systests/rs-security/src/test/java/org/apache/cxf/systest/jaxrs/security/oauth2/common/WSS4JBasicAuthFilter.java
b/systests/rs-security/src/test/java/org/apache/cxf/systest/jaxrs/security/oauth2/common/WSS4JBasicAuthFilter.java
index 66958f7..fe1170d 100644
--- a/systests/rs-security/src/test/java/org/apache/cxf/systest/jaxrs/security/oauth2/common/WSS4JBasicAuthFilter.java
+++ b/systests/rs-security/src/test/java/org/apache/cxf/systest/jaxrs/security/oauth2/common/WSS4JBasicAuthFilter.java
@@ -42,6 +42,7 @@ public class WSS4JBasicAuthFilter extends WSS4JBasicAuthValidator implements
Con
         if (policy == null || policy.getUserName() == null || policy.getPassword() == null)
{
             requestContext.abortWith(
                 Response.status(401).header("WWW-Authenticate", "Basic realm=\"IdP\"").build());
+            return;
         }
 
         try {
@@ -51,4 +52,4 @@ public class WSS4JBasicAuthFilter extends WSS4JBasicAuthValidator implements
Con
         }
     }
 
-}
\ No newline at end of file
+}


Mime
View raw message