Is there any way to encrypt the property value of the object-factory binding in JBoss EAP 6/7?
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, tools, and much more.