wildfly 是否提供凭证引用功能以在 standalone.xml 中使用掩码密码?

Does wildfly provides the capability for credential reference to use a mask password in standalone.xml?

我正在尝试为 standalone.xml

中的凭据存储(不是存储在里面的 aliases/credentials)使用掩码密码

目前是这样配置的;

<credential-stores>
    <credential-store name="testStore" relative-to="jboss.server.data.dir" location="test.jceks" create="true">
        <credential-reference clear-text="storepass"/>
    </credential-store>
</credential-stores>

但我正在寻找使用带盐和迭代的掩码密码的功能,例如

 <authentication-configurations>
       <configuration name="masked-config">
           <set-user-name name="Guest"/>
           <credentials>
               <masked-password iteration-count="100" salt="12345678" masked-password="/Nym2s/dssMrabfdIGsZfQ=="/>
           </credentials>
           <sasl-mechanism-selector selector="PLAIN"/>
       </configuration>
   </authentication-configurations>

也就是说,使用掩码密码而不是明文存储凭据。

谢谢!

是的。

<credential-stores>
    <credential-store name="test" relative-to="jboss.server.data.dir" location="test.jceks" create="true">
        <credential-reference clear-text="MASK-J.UbqnPr9LQMe9dkgMERGG8C.B1Neb6CwihvAlHYjYxCTUn8gETT80JRPTi/vcXx9;uoFwaATR;100"/>
 </credential-store>
</credential-stores>