reta commented on code in PR #2150:
URL: https://github.com/apache/cxf/pull/2150#discussion_r1845242065


##########
rt/transports/http/src/main/java/org/apache/cxf/transport/http/Headers.java:
##########
@@ -580,4 +580,8 @@ public static String toHttpDate(Date date) {
     public static String toHttpLanguage(Locale locale) {
         return locale.toString().replace('_', '-');
     }
+
+    public static List<String> getSensitiveHeaderList() {

Review Comment:
   Please convert `SENSITIVE_HEADERS` to the contextual property:
   
   ```
   private static final String SENSITIVE_HEADERS = 
"org.apache.http.sensitive.headers";
   
   
   List<String> getSensitiveHeaders() {
       return MessageUtils.getContextualStrings(message, SENSITIVE_HEADERS, 
Set.of("Authorization", "Proxy-Authorization");
   }
   ```



-- 
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