Uploaded image for project: 'AMQ Broker'
  1. AMQ Broker
  2. ENTMQBR-4627

Doc: Custom password-codec Ignored by Masking Utility

XMLWordPrintable

    • Icon: Task Task
    • Resolution: Unresolved
    • Icon: Major Major
    • None
    • AMQ 7.8.0.GA
    • documentation

      AMQ 7 / Artemis documentation describes how to implement and configure a custom codec class by extending the SensitiveDataCodec class, adding the new class to the classpath, and configuring a custom-codec element in the broker configuration; however, there does not seem to be any provision in the masking utility classes to retrieve and use the custom codec. Instead, the masking utility is hard-coded to return the DefaultSensitiveStringCodec bundled with the broker.

      The CLI masking utilities should implement org.apache.activemq.artemis.cli.commands.ActionAbstract, Configurable, or some other interface that leverages the FileConfiguration and retrieve the configured codec from the broker configuration and use the default codec only in the absence of a configured custom coded classname.

            jcliffor@redhat.com John Clifford
            jbyrne@redhat.com John Byrne
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: