Esempio n. 1
0
  @Override
  public SessionDto register(String username, String password, String name, String email) {
    log.debug("registering new user: "******"Could not register user!", e);
      throw new RuntimeException("Could not register user!");
    }
  }
Esempio n. 2
0
  @Override
  public SessionDto login(String username, String attemptedPassword) {
    log.debug("logging in user: "******"Could not log in!", e);
      throw new RuntimeException("Could not log in!");
    }
  }