1 27 package org.objectweb.jonas_rar.deployment.api; 28 29 import java.io.Serializable ; 30 31 import org.objectweb.jonas_rar.deployment.xml.SecurityEntry; 32 37 38 public class SecurityEntryDesc implements Serializable { 39 40 43 private String principalName = null; 44 45 48 private String user = null; 49 50 53 private String password = null; 54 55 58 private String encrypted = null; 59 60 63 public SecurityEntryDesc(SecurityEntry se) { 64 if (se != null) { 65 principalName = se.getPrincipalName(); 66 user = se.getUser(); 67 password = se.getPassword(); 68 encrypted = se.getEncrypted(); 69 } 70 } 71 72 76 public String getPrincipalName() { 77 return principalName; 78 } 79 80 84 public String getUser() { 85 return user; 86 } 87 88 92 public String getPassword() { 93 return password; 94 } 95 96 100 public String getEncypted() { 101 return encrypted; 102 } 103 104 } 105 | Popular Tags |