final String msg = intres.getLocalizedMessage("authentication.authok", username);
logSession.log(admin, data.getCaId(), LogConstants.MODULE_CA, new Date(),username, null, LogConstants.EVENT_INFO_USERAUTHENTICATION, msg);
if (log.isTraceEnabled()) {
log.trace("<authenticateUser("+username+", hiddenpwd)");
}
return data.toUserDataVO();
}
final String msg = intres.getLocalizedMessage("authentication.wrongstatus", UserDataConstants.getStatusText(status), Integer.valueOf(status), username);
logSession.log(admin, data.getCaId(), LogConstants.MODULE_CA, new Date(),username, null, LogConstants.EVENT_INFO_USERAUTHENTICATION, msg);
throw new AuthStatusException(msg);
} catch (ObjectNotFoundException oe) {