Uploaded image for project: 'Camel'
  1. Camel
  2. CAMEL-14422

DefaultShutdownStrategy not masking sensitive information

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 3.1.0
    • 3.1.0
    • camel-core
    • None
    • Unknown

    Description

      When DefaultShutdownStrategy shuts down a route, it logs sensitive information, like passwords for example. 

       

      For Jt400Endpoint it looks like this:

       

      2020-01-22 13:11:14.126 [Camel (camel-1) thread #585 - ShutdownTask] INFO org.apache.camel.impl.engine.DefaultShutdownStrategy.run:694 - Route: route27 shutdown complete, was consuming from: jt400://user:password@host/QSYS.LIB/USER.LIB/DATAQUEUE.DTAQ

       

      Should DefaultShutdownStrategy use URISupport.sanitizeUri method before logging endpoint URI?

      Attachments

        Activity

          People

            davsclaus Claus Ibsen
            rgala Rafał Gała
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: