1 17 package org.apache.geronimo.security.deploy; 18 19 import java.io.Serializable ; 20 import java.util.Set ; 21 22 23 26 public class DefaultPrincipal implements Serializable { 27 private PrincipalInfo principalInfo; 28 29 private Set namedUserPasswordCredentials; 30 31 public PrincipalInfo getPrincipal() { 32 return principalInfo; 33 } 34 35 public void setPrincipal(PrincipalInfo principalInfo) { 36 this.principalInfo = principalInfo; 37 } 38 39 public Set getNamedUserPasswordCredentials() { 40 return namedUserPasswordCredentials; 41 } 42 43 public void setNamedUserPasswordCredentials(Set namedUserPasswordCredentials) { 44 this.namedUserPasswordCredentials = namedUserPasswordCredentials; 45 } 46 } 47 | Popular Tags |