Is there any way to encrypt the property value of the object-factory binding in JBoss EAP 6/7?

Solution In Progress - Updated -

Issue

Is there any way to encrypt the property value of the object-factory binding in JBoss EAP 6/7?

We are planning to use this value for the password field.

Example:
https://access.redhat.com/documentation/en-us/red_hat_jboss_enterprise_application_platform/7.1/html/configuration_guide/configuring_the_naming_subsystem#binding_object_factories

<subsystem xmlns="urn:jboss:domain:naming:2.0">
    <bindings>
        <object-factory name="java:global/foo/bar/factory" module="org.foo.bar" class="org.foo.bar.ObjectFactory">
            <environment>
                <property name="p1" value="v1" />
                <property name="p2" value="v2" /> --> encrypt value for "v2" (as xor, aes, ..., or storing in the password vault)
            </environment>
        </object-factory>
    </bindings>
  </subsystem>

Environment

  • Red Hat JBoss Enterprise Application Platform
    • 6.x
    • 7.x

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.