public void setSecurityPassword(final String password, Current __current) throws ServerError { final EventContext ec = getEventContext(); final String name = ec.getCurrentUserName(); final boolean ok = sessionManager.executePasswordCheck(name, password); if (!ok) { final String msg = "Bad password for " + name; log.info("setSecurityPassword: " + msg); throw new SecurityViolation(null, null, "Bad password for " + name); } else { this.reusedSession.set(false); } }
if (manager.executePasswordCheck(userId, password)) { return true; } else {