Lines Matching defs:userAccount
276 UserAccount userAccount = getUserAccount(session);
278 verifyFileSystemCondition(userAccount.canExecute(entry), path, "filesystem.cannotExecute");
289 UserAccount userAccount = getUserAccount(session);
291 verifyFileSystemCondition(userAccount.canWrite(entry), path, "filesystem.cannotWrite");
302 UserAccount userAccount = getUserAccount(session);
304 verifyFileSystemCondition(userAccount.canRead(entry), path, "filesystem.cannotRead");
365 UserAccount userAccount = serverConfiguration.getUserAccount(username);
366 if (userAccount == null || !userAccount.isValid()) {
367 LOG.error("UserAccount missing or not valid for username [" + username + "]: " + userAccount);
372 String home = userAccount.getHomeDirectory();
386 * @param userAccount - the userAccount for the user to be logged in
391 protected void login(UserAccount userAccount, Session session, int replyCode, String replyMessageKey) {
393 session.setAttribute(SessionKeys.USER_ACCOUNT, userAccount);
394 session.setAttribute(SessionKeys.CURRENT_DIRECTORY, userAccount.getHomeDirectory());