1 45 package org.exolab.jms.authentication; 46 47 import java.io.Serializable ; 48 49 50 56 public class User implements Serializable { 57 58 61 private String username; 62 63 66 private String password; 67 68 69 72 public User() { 73 } 74 75 81 public User(String username, String password) { 82 this.username = username; 83 this.password = password; 84 } 85 86 91 public String getUsername() { 92 return username; 93 } 94 95 100 public void setUsername(String username) { 101 this.username = username; 102 } 103 104 109 public String getPassword() { 110 return password; 111 } 112 113 118 public void setPassword(String password) { 119 this.password = password; 120 } 121 122 127 public String toString() { 128 return this.username; 129 } 130 } 131 | Popular Tags |