Mercurial > lada > lada-server
changeset 892:4b7f62a63297
Remove unused outdated API.
author | Tom Gottfried <tom@intevation.de> |
---|---|
date | Fri, 19 Feb 2016 14:55:17 +0100 |
parents | d4d768295068 |
children | 9258cce7bcbd |
files | src/main/java/de/intevation/lada/util/auth/UserInfo.java |
diffstat | 1 files changed, 0 insertions(+), 26 deletions(-) [+] |
line wrap: on
line diff
--- a/src/main/java/de/intevation/lada/util/auth/UserInfo.java Fri Feb 19 14:23:58 2016 +0100 +++ b/src/main/java/de/intevation/lada/util/auth/UserInfo.java Fri Feb 19 14:55:17 2016 +0100 @@ -22,10 +22,8 @@ private Integer userId; private List<String> messstellen; private List<String> netzbetreiber; - private List<String> roles; private List<Integer> funktionen; private List<Auth> auth; - private Integer statusRole; public UserInfo() { messstellen = new ArrayList<String>(); @@ -134,30 +132,6 @@ return retVal; } - public List<String> getRoles() { - List<String> ret = new ArrayList<String>(); - for (Auth a : auth) { - if (a.getLdapGroup() != null) { - ret.add(a.getLdapGroup()); - } - } - return ret; - } - - /** - * @return the statusRole - */ - public Integer getStatusRole() { - return statusRole; - } - - /** - * @param statusRole the statusRole to set - */ - public void setStatusRole(Integer statusRole) { - this.statusRole = statusRole; - } - public void setAuth(List<Auth> auth) { this.auth = auth; }