# HG changeset patch # User Bjoern Ricks # Date 1342001464 0 # Node ID 83c962be0ddebfbd53e6d4b4c2f2ee7993affba3 # Parent 645c774b3b981a45868b4335e8b21f639f026f38 Add WAS user class The user class can be used to be stored in the httpsession. flys-client/trunk@4925 c6561f87-3c4e-4783-a992-168aeb5c3f6f diff -r 645c774b3b98 -r 83c962be0dde flys-client/ChangeLog --- a/flys-client/ChangeLog Tue Jul 10 19:55:22 2012 +0000 +++ b/flys-client/ChangeLog Wed Jul 11 10:11:04 2012 +0000 @@ -1,3 +1,8 @@ +2012-07-11 Björn Ricks + + * src/main/java/de/intevation/flys/client/server/was/User.java: + Add a first implementation of a WAS user class. + 2012-07-10 Sascha L. Teichmann * src/main/java/de/intevation/flys/client/server/was/Response.java: diff -r 645c774b3b98 -r 83c962be0dde flys-client/src/main/java/de/intevation/flys/client/server/was/User.java --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/flys-client/src/main/java/de/intevation/flys/client/server/was/User.java Wed Jul 11 10:11:04 2012 +0000 @@ -0,0 +1,24 @@ +package de.intevation.flys.client.server.was; + +import de.intevation.flys.client.shared.model.DefaultUser; + +public class User extends DefaultUser { + + private String password; + + public User(String name, String password) { + this.setName(name); + this.password = password; + } + + public String getPassword() { + return this.password; + } + + public Boolean hasExpired() { + //TODO + return false; + } +} + +// vim:set ts=4 sw=4 si et fenc=utf8 tw=80: