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:53:58 GMT
Repository: cxf
Updated Branches:
  refs/heads/master d08ea7a76 -> c8bd56885


Minor change


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

Branch: refs/heads/master
Commit: c8bd56885a4065d5e942f6715f5f0801716e9850
Parents: d08ea7a
Author: Colm O hEigeartaigh <coheigea@apache.org>
Authored: Thu Feb 25 16:53:49 2016 +0000
Committer: Colm O hEigeartaigh <coheigea@apache.org>
Committed: Thu Feb 25 16:53:49 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/c8bd5688/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