1 20 package org.apache.cactus.client.authentication; 21 22 37 public abstract class AbstractAuthentication implements Authentication 38 { 39 42 private String name; 43 44 47 private String password; 48 49 53 public AbstractAuthentication(String theName, String thePassword) 54 { 55 setName(theName); 56 setPassword(thePassword); 57 } 58 59 64 public final void setName(String theName) 65 { 66 this.name = theName; 67 } 68 69 72 public final String getName() 73 { 74 return this.name; 75 } 76 77 82 public final void setPassword(String thePassword) 83 { 84 this.password = thePassword; 85 } 86 87 90 public final String getPassword() 91 { 92 return this.password; 93 } 94 } 95 | Popular Tags |