[jboss-user] [Datasource Configuration] - Re: Use Encryption/Decryption of datasource password using existing keystore.

Rahul Singh do-not-reply at jboss.com
Fri Apr 6 07:06:37 EDT 2012


Rahul Singh [https://community.jboss.org/people/rahul.pani] created the discussion

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

To view the discussion, visit: https://community.jboss.org/message/728649#728649

--------------------------------------------------------------
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
[https://community.jboss.org/message/728649#728649]

Start a new discussion in Datasource Configuration at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2077]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20120406/a30f91da/attachment-0001.html 


More information about the jboss-user mailing list