[jboss-cvs] JBossAS SVN: r65319 - branches/Branch_4_2/security/src/main/org/jboss/security/plugins.
jboss-cvs-commits at lists.jboss.org
jboss-cvs-commits at lists.jboss.org
Tue Sep 11 22:06:36 EDT 2007
Author: sguilhen at redhat.com
Date: 2007-09-11 22:06:36 -0400 (Tue, 11 Sep 2007)
New Revision: 65319
Modified:
branches/Branch_4_2/security/src/main/org/jboss/security/plugins/JaasSecurityDomain.java
branches/Branch_4_2/security/src/main/org/jboss/security/plugins/JaasSecurityDomainMBean.java
Log:
Added code to allow for truststore password encryption, according to the issue #JBAS-4701
Modified: branches/Branch_4_2/security/src/main/org/jboss/security/plugins/JaasSecurityDomain.java
===================================================================
--- branches/Branch_4_2/security/src/main/org/jboss/security/plugins/JaasSecurityDomain.java 2007-09-11 22:52:28 UTC (rev 65318)
+++ branches/Branch_4_2/security/src/main/org/jboss/security/plugins/JaasSecurityDomain.java 2007-09-12 02:06:36 UTC (rev 65319)
@@ -246,8 +246,9 @@
}
public void setTrustStorePass(String password)
+ throws Exception
{
- this.trustStorePassword = password.toCharArray();
+ this.trustStorePassword = Util.loadPassword(password);
}
public String getTrustStoreURL()
Modified: branches/Branch_4_2/security/src/main/org/jboss/security/plugins/JaasSecurityDomainMBean.java
===================================================================
--- branches/Branch_4_2/security/src/main/org/jboss/security/plugins/JaasSecurityDomainMBean.java 2007-09-11 22:52:28 UTC (rev 65318)
+++ branches/Branch_4_2/security/src/main/org/jboss/security/plugins/JaasSecurityDomainMBean.java 2007-09-12 02:06:36 UTC (rev 65319)
@@ -64,7 +64,7 @@
public void setTrustStoreType(String type);
/** Set the credential string for the trust store.
*/
- public void setTrustStorePass(String password);
+ public void setTrustStorePass(String password) throws Exception;
/** Get the trust store database URL string.
*/
public String getTrustStoreURL();
More information about the jboss-cvs-commits
mailing list