hc-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Oleg Kalnichevski (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (HTTPCLIENT-1811) Security : Authorization header should not be printed in debug log
Date Thu, 02 Feb 2017 09:05:51 GMT

     [ https://issues.apache.org/jira/browse/HTTPCLIENT-1811?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Oleg Kalnichevski resolved HTTPCLIENT-1811.
-------------------------------------------
    Resolution: Not A Problem

Please use functionality of the logging toolkit of your choice to intercept and re-write log
events as you deem fit. 

Advanced logging toolkits usually support some sort of log filters.

http://logging.apache.org/log4j/2.x/manual/filters.html

Oleg

> Security : Authorization header should not be printed in  debug log
> -------------------------------------------------------------------
>
>                 Key: HTTPCLIENT-1811
>                 URL: https://issues.apache.org/jira/browse/HTTPCLIENT-1811
>             Project: HttpComponents HttpClient
>          Issue Type: Bug
>          Components: HttpClient (async)
>            Reporter: Sujitha Chinnathambi
>         Attachments: httpclient.patch
>
>
> Current behaviour : When https call is made with basic authentication  with  debug mode,
authorization information which is transfered part of 'Authorization' header is getting printed
in log in below artifact
>   <groupId>org.apache.httpcomponents</groupId>
>   <artifactId>httpclient</artifactId>
>   <version>4.3.6</version>
> Example : 
> org.apache.http.wire - []  >> "Authorization: Basic VEVTVCBLSCAwMS9TQ0hVTFVORzpzY2h1bHVuZw==[\r][\n]"
> org.apache.http.headers - [] >> Authorization: Basic VEVTVCBLSCAwMS9TQ0hVTFVORzpzY2h1bHVuZw==
> Expected behaiour: 
> Though log level is debug, authorization information should not be  printed in log.
> Attached httpclient.patch as proposal.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@hc.apache.org
For additional commands, e-mail: dev-help@hc.apache.org


Mime
View raw message