You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cloudstack.apache.org by ap...@apache.org on 2013/11/08 10:48:03 UTC

git commit: updated refs/heads/4.2 to 79ef40c

Updated Branches:
  refs/heads/4.2 fba874120 -> 79ef40c0a


Summary: Implement stored-password encryption for Stratosphere plugin

BUG-ID: CLOUDSTACK-4929
Bugfix-for:
Reviewed-by:
Reported-by:
Signed-off-by: John Kinsella <jl...@stratosec.co> 1383882870 -0800
Signed-off-by: Abhinandan Prateek <ap...@apache.org>


Project: http://git-wip-us.apache.org/repos/asf/cloudstack/repo
Commit: http://git-wip-us.apache.org/repos/asf/cloudstack/commit/79ef40c0
Tree: http://git-wip-us.apache.org/repos/asf/cloudstack/tree/79ef40c0
Diff: http://git-wip-us.apache.org/repos/asf/cloudstack/diff/79ef40c0

Branch: refs/heads/4.2
Commit: 79ef40c0a9f7ad60bd4830977a6e556e0125b80e
Parents: fba8741
Author: John Kinsella <jl...@stratosec.co>
Authored: Thu Nov 7 19:54:30 2013 -0800
Committer: Abhinandan Prateek <ap...@apache.org>
Committed: Fri Nov 8 15:17:22 2013 +0530

----------------------------------------------------------------------
 .../src/org/apache/cloudstack/network/dao/SspCredentialVO.java    | 3 +++
 1 file changed, 3 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cloudstack/blob/79ef40c0/plugins/network-elements/stratosphere-ssp/src/org/apache/cloudstack/network/dao/SspCredentialVO.java
----------------------------------------------------------------------
diff --git a/plugins/network-elements/stratosphere-ssp/src/org/apache/cloudstack/network/dao/SspCredentialVO.java b/plugins/network-elements/stratosphere-ssp/src/org/apache/cloudstack/network/dao/SspCredentialVO.java
index 1780296..d828f64 100644
--- a/plugins/network-elements/stratosphere-ssp/src/org/apache/cloudstack/network/dao/SspCredentialVO.java
+++ b/plugins/network-elements/stratosphere-ssp/src/org/apache/cloudstack/network/dao/SspCredentialVO.java
@@ -23,6 +23,8 @@ import javax.persistence.GenerationType;
 import javax.persistence.Id;
 import javax.persistence.Table;
 
+import com.cloud.utils.db.Encrypt;
+
 @Entity
 @Table(name="external_stratosphere_ssp_credentials")
 public class SspCredentialVO {
@@ -38,6 +40,7 @@ public class SspCredentialVO {
     @Column(name="username")
     private String username;
 
+    @Encrypt
     @Column(name="password")
     private String password;