Mercurial > dive4elements > river
diff 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 |
line wrap: on
line diff
--- a/gwt-client/src/main/java/org/dive4elements/river/client/server/auth/User.java Mon Sep 17 19:07:57 2018 +0200 +++ b/gwt-client/src/main/java/org/dive4elements/river/client/server/auth/User.java Thu Sep 27 17:40:39 2018 +0200 @@ -18,40 +18,41 @@ /** * Returns the username as String */ - public String getName(); + String getName(); /** * Returns the password of the user as String */ - public String getPassword(); + String getPassword(); /** * Returns True if the authentication for the user * has expired. */ - public boolean hasExpired(); + boolean hasExpired(); /** * Returns a list of roles corresponsing the the user */ - public List<String> getRoles(); + List<String> getRoles(); /** * Returns true if the user is allowed access the feature */ - public boolean canUseFeature(String feature); + boolean canUseFeature(String feature); /** * Returns the users account name */ - public String getAccount(); + String getAccount(); /** * Returns the SAML ticket for single sign-on. * @return The SAML ticket in base64 encoded XML. null if no ticket * is available. */ - public String getSamlXMLBase64(); -} -// vim:set ts=4 sw=4 si et fenc=utf8 tw=80: + String getSamlXMLBase64(); + + String getUserGroup(); +} \ No newline at end of file