Uploaded image for project: 'WildFly'
  1. WildFly
  2. WFLY-3475

Support vaulted properties for JMSContext annotation

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Done
    • Icon: Major Major
    • 9.0.0.Alpha1
    • 8.1.0.Final
    • JMS
    • None

      It is possible to annotate an injected JMSContext with a @JMSPasswordCredential. The userName & password attributes of this annotation should support to be vaulted so no user credentials would appear in clear text in the source file:

          @Inject
          @JMSConnectionFactory("java:jboss/exported/jms/RemoteConnectionFactory")
          @JMSPasswordCredential(userName = "${VAULT::messaging::userName::1}", password = "${VAULT::messaging::password::1}")
          private JMSContext context;
      

              jmesnil1@redhat.com Jeff Mesnil
              jmesnil1@redhat.com Jeff Mesnil
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: