comparison flys-client/src/main/java/de/intevation/flys/client/server/auth/User.java @ 2979:193a113888d4

Add javadoc for the user class flys-client/trunk@4977 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Bjoern Ricks <bjoern.ricks@intevation.de>
date Fri, 13 Jul 2012 09:41:17 +0000
parents 98514ab2c9ba
children 71ba3cf3ec5e
comparison
equal deleted inserted replaced
2978:98514ab2c9ba 2979:193a113888d4
1 package de.intevation.flys.client.server.auth; 1 package de.intevation.flys.client.server.auth;
2 2
3 import java.util.List; 3 import java.util.List;
4 4
5 /**
6 * User representation after a succesfull login
7 */
5 public interface User { 8 public interface User {
6 9
10 /**
11 * Returns the username as String
12 */
7 public String getName(); 13 public String getName();
8 14
15 /**
16 * Returns the password of the user as String
17 */
9 public String getPassword(); 18 public String getPassword();
10 19
20 /**
21 * Returns True if the authentication for the user
22 * has expired.
23 */
11 public boolean hasExpired(); 24 public boolean hasExpired();
12 25
26 /**
27 * Returns a list of roles corresponsing the the user
28 */
13 public List<String> getRoles(); 29 public List<String> getRoles();
14 } 30 }
15 // vim:set ts=4 sw=4 si et fenc=utf8 tw=80: 31 // vim:set ts=4 sw=4 si et fenc=utf8 tw=80:

http://dive4elements.wald.intevation.org