JBoss Community

Re: Use Encryption/Decryption of datasource password using existing keystore.

created by Rahul Singh in Datasource Configuration - View the full discussion

I think that i can use the attributes

 

   <mbean code="org.jboss.ejb.plugins.cmp.jdbc.metadata.MetaDataLibrary"

      name="jboss.jdbc:service=metadata"/>

 

    <mbean code="org.jboss.security.plugins.JaasSecurityDomain"

      name="jboss.security:service=JaasSecurityDomain,domain=ServerMasterPassword">

      <constructor>

         <arg type="java.lang.String" value="ServerMasterPassword"></arg>

      </constructor>

      <attribute name="KeyStoreURL">keystorepath</attribute>

      <attribute name="KeyStorePass">keystoreId</attribute>

      <attribute name="KeyStoreAlias">alias</attribute>

      <attribute name="CipherAlgorithm">RSA/ECB/PKCS1Padding</attribute>     

   </mbean>

 

Can someone please tell me if thats the correct of use the keystore attrubutes. I am using JsafeJCE as the security provide but dont know where i can put this value.

Reply to this message by going to Community

Start a new discussion in Datasource Configuration at Community