bug 5190: a part of the enhancement is complete; now we can upload a custom cert using a file from our local machine, into the system. It is stored in the certificate table as a "text" column

This commit is contained in:
abhishek 2010-09-28 13:51:03 -07:00
parent 1bb4eeafd9
commit e5186bde2b
3 changed files with 3 additions and 2 deletions

View File

@ -89,6 +89,7 @@
<dao name="UserAccount" class="com.cloud.user.dao.UserAccountDaoImpl"/>
<dao name="VM Template Host" class="com.cloud.storage.dao.VMTemplateHostDaoImpl"/>
<dao name="Upload" class="com.cloud.storage.dao.UploadDaoImpl"/>
<dao name="Certificate" class="com.cloud.certificate.dao.CertificateDaoImpl"/>
<dao name="VM Template Pool" class="com.cloud.storage.dao.VMTemplatePoolDaoImpl"/>
<dao name="VM Template Zone" class="com.cloud.storage.dao.VMTemplateZoneDaoImpl"/>
<dao name="Launch Permission" class="com.cloud.storage.dao.LaunchPermissionDaoImpl"/>

View File

@ -38,7 +38,7 @@ public class CertificateVO {
@Column(name="id")
private Long id = null;
@Column(name="certificate")
@Column(name="certificate",length=65535)
private String certificate;
public CertificateVO() {}

View File

@ -9115,7 +9115,7 @@ public class ManagementServerImpl implements ManagementServer {
@Override
public boolean updateCertificate(String certificatePath)
{
return _certDao.persistCustomCertToDb(certificatePath );
return _certDao.persistCustomCertToDb(certificatePath);
}
}