From: Thomas J. <fa...@ap...> - 2002-10-30 09:40:05
|
Update of /var/lib/cvs/bWF2/src/de/bchat/common In directory apollo:/tmp/cvs-serv15805/src/de/bchat/common Modified Files: bchatUser.java Log Message: needed fixes to get bchatCOnnection to work Index: bchatUser.java =================================================================== RCS file: /var/lib/cvs/bWF2/src/de/bchat/common/bchatUser.java,v retrieving revision 1.3 retrieving revision 1.4 diff -u -d -r1.3 -r1.4 --- bchatUser.java 23 Oct 2002 14:04:51 -0000 1.3 +++ bchatUser.java 30 Oct 2002 09:39:55 -0000 1.4 @@ -244,6 +244,14 @@ userData.put("realname", realname); } + public String getPassword() { + return (userData.get("password") != null) ? (String)userData.get("password") : ""; + } + + public void setPassword(String password) { + userData.put("password", password); + } + public boolean getAdmin() { if(userData.get("righttable") != null && userData.get("righttable").equals("true")) { return true; |