comparison gwt-client/src/main/java/org/dive4elements/river/client/server/auth/User.java @ 9497:d6d5ca6d4af0

Enabled logging of saml-group-name in log-ing logfile. Some cleanup/refaktoring.
author gernotbelger
date Thu, 27 Sep 2018 17:40:39 +0200
parents 7bc35bbd8b27
children
comparison
equal deleted inserted replaced
9486:ce13a2f07290 9497:d6d5ca6d4af0
16 public interface User { 16 public interface User {
17 17
18 /** 18 /**
19 * Returns the username as String 19 * Returns the username as String
20 */ 20 */
21 public String getName(); 21 String getName();
22 22
23 /** 23 /**
24 * Returns the password of the user as String 24 * Returns the password of the user as String
25 */ 25 */
26 public String getPassword(); 26 String getPassword();
27 27
28 /** 28 /**
29 * Returns True if the authentication for the user 29 * Returns True if the authentication for the user
30 * has expired. 30 * has expired.
31 */ 31 */
32 public boolean hasExpired(); 32 boolean hasExpired();
33 33
34 /** 34 /**
35 * Returns a list of roles corresponsing the the user 35 * Returns a list of roles corresponsing the the user
36 */ 36 */
37 public List<String> getRoles(); 37 List<String> getRoles();
38 38
39 39
40 /** 40 /**
41 * Returns true if the user is allowed access the feature 41 * Returns true if the user is allowed access the feature
42 */ 42 */
43 public boolean canUseFeature(String feature); 43 boolean canUseFeature(String feature);
44 44
45 /** 45 /**
46 * Returns the users account name 46 * Returns the users account name
47 */ 47 */
48 public String getAccount(); 48 String getAccount();
49 49
50 /** 50 /**
51 * Returns the SAML ticket for single sign-on. 51 * Returns the SAML ticket for single sign-on.
52 * @return The SAML ticket in base64 encoded XML. null if no ticket 52 * @return The SAML ticket in base64 encoded XML. null if no ticket
53 * is available. 53 * is available.
54 */ 54 */
55 public String getSamlXMLBase64(); 55 String getSamlXMLBase64();
56
57 String getUserGroup();
56 } 58 }
57 // vim:set ts=4 sw=4 si et fenc=utf8 tw=80:

http://dive4elements.wald.intevation.org