smolnar82 opened a new pull request, #802:
URL: https://github.com/apache/knox/pull/802

   ## What changes were proposed in this pull request?
   
   Better logging experience in KnoxSSO Cookie management.
   
   ## How was this patch tested?
   
   Deployed Knox, logged in to the Knox Home page and checked logs:
   ```
   2023-10-10 13:03:51,102 f268dade-b9ba-425d-b0d6-d3e97d6b9243 INFO  
knox.gateway (CookieUtils.java:getCookiesForName(46)) - Unable to find cookie 
with name: hadoop-jwt
   ...
   2023-10-10 13:04:01,683 d4e582d3-8b08-46cd-8540-60315b08a819 DEBUG 
service.knoxsso (WebSSOResource.java:addJWTHadoopCookie(402)) - Adding the 
following JWT token as a cookie: eyJraW...VHcD2Q
   2023-10-10 13:04:01,684 d4e582d3-8b08-46cd-8540-60315b08a819 INFO  
service.knoxsso (WebSSOResource.java:addJWTHadoopCookie(428)) - JWT cookie 
eyJraW...VHcD2Q successfully added.
   ```
   


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

Reply via email to