mirror of https://github.com/apache/cloudstack.git
Summary: Implement stored-password encryption for Stratosphere plugin
BUG-ID: CLOUDSTACK-4929 Bugfix-for: Reviewed-by: Reported-by: Signed-off-by: John Kinsella <jlk@stratosec.co> 1383882870 -0800 Signed-off-by: Abhinandan Prateek <aprateek@apache.org>
This commit is contained in:
parent
b36ed1289a
commit
ea2eafcd85
|
|
@ -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;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue