ulrich
2016-12-24 be9fa27d6741b2080e91db43e0b1e8aac7565be0
Rollen begonnen
1 files modified
18 ■■■■■ changed files
src/java/de/uhilger/um/api/UserMgr.java 18 ●●●●● patch | view | raw | blame | history
src/java/de/uhilger/um/api/UserMgr.java
@@ -22,6 +22,8 @@
  public static final String SQL_GET_USER_NAME_LIST = "getUserNameList";
  public static final String SQL_DELETE_USER = "deleteUser";
  
  /* ----------- Benutzer -------------- */
  public User createUser(User user) {
    String kw = user.getPw();
    String digestedPw = RealmBase.Digest(kw, MD5, null);
@@ -48,6 +50,22 @@
  }
  */
  
  /* ------------ Rollen ------------------ */
  public String grantRole(String userId, String roleName) {
    return "not implemented";
  }
  public String revokeRole(String userId, String roleName) {
    return "not implemented";
  }
  public List getRoleNamesGranted() {
    return null;
  }
  /* ------------ sonstige Methoden -------------- */
  public String hallo() {
    return "Hallo Welt";
  }