comparison flys-client/src/main/java/de/intevation/flys/client/server/auth/was/User.java @ 3504:1387cdeb8d93

Add account information to flys-client user classes flys-client/trunk@5256 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Bjoern Ricks <bjoern.ricks@intevation.de>
date Fri, 24 Aug 2012 10:49:23 +0000
parents 23095983c249
children
comparison
equal deleted inserted replaced
3503:56f17c6c6288 3504:1387cdeb8d93
11 11
12 private Assertion assertion; 12 private Assertion assertion;
13 13
14 public User(String name, 14 public User(String name,
15 String password, 15 String password,
16 String account,
16 List<String> roles, 17 List<String> roles,
17 Assertion assertion, 18 Assertion assertion,
18 List<String> features 19 List<String> features
19 ) { 20 ) {
20 this.setName(name); 21 this.setName(name);
21 this.setPassword(password); 22 this.setPassword(password);
22 this.setRoles(roles); 23 this.setRoles(roles);
23 this.assertion = assertion; 24 this.assertion = assertion;
24 this.setAllowedFeatures(features); 25 this.setAllowedFeatures(features);
26 this.setAccount(account);
25 } 27 }
26 28
27 @Override 29 @Override
28 public boolean hasExpired() { 30 public boolean hasExpired() {
29 Date until = this.assertion.getUntil(); 31 Date until = this.assertion.getUntil();

http://dive4elements.wald.intevation.org