prasad-acit commented on PR #4241:
URL: https://github.com/apache/hadoop/pull/4241#issuecomment-1112597494

   Thanks @hemanthboyina @Hexiaoqiao @steveloughran for the quick review & 
feedback.
   
   > the key and sensitive information is DelegationKey/Password for 
DelegationToken, the output message here does not include this information 
right?
   Yes, there is no password printed in it. But as per our internal security 
guidelines displaying the complete Token info is also prohibited. So, 
suppressed the token from being displayed in the browser.
   > if the issue is that toString leaks a secret, it should be fixed at that 
level, as it is likely to end up in logs. we don't want any output to expose 
secrets.
   Logging exception or full stack has no issue in this case. We are trying to 
avoid the token in the browser and keep the message abstract to the end-user. 
Here additional information is not necessary which can be avoided in the 
browser.
   
   Failed tests corrected, please review the changes.
   
   
   


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to