rzo1 commented on code in PR #1822:
URL: https://github.com/apache/cxf/pull/1822#discussion_r1572491679


##########
rt/transports/http/src/main/java/org/apache/cxf/transport/http/AbstractHTTPDestination.java:
##########
@@ -410,8 +410,12 @@ private boolean isWSAddressingReplyToSpecified(Exchange 
ex) {
             public Principal getUserPrincipal() {
                 try {
                     return req.getUserPrincipal();
-                } catch (Exception ex) {
-                    return null;
+                } catch (Exception e) {

Review Comment:
   In CXF 4.0.x where was'nt a a catch block at all. So this PR only cures a 
symptom and it might be worth to dig deeper on why it's actually null. Don't 
know enough about CXF internals though 😄



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscr...@cxf.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to