HomeSort by relevance Sort by last modified time
    Searched defs:userAccount (Results 1 - 6 of 6) sorted by null

  /external/mockftpserver/MockFtpServer/src/main/java/org/mockftpserver/fake/command/
AbstractFakeCommandHandler.java 29 import org.mockftpserver.fake.UserAccount;
246 * @return the UserAccount stored in the specified session; may be null
248 protected UserAccount getUserAccount(Session session) {
249 return (UserAccount) session.getAttribute(SessionKeys.USER_ACCOUNT);
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");
    [all...]
PassCommandHandler.java 22 import org.mockftpserver.fake.UserAccount;
44 UserAccount userAccount = getServerConfiguration().getUserAccount(username);
45 if (userAccount.isValidPassword(password)) {
46 int replyCode = (userAccount.isAccountRequiredForLogin()) ? ReplyCodes.PASS_NEED_ACCOUNT : ReplyCodes.PASS_OK;
47 String replyMessageKey = (userAccount.isAccountRequiredForLogin()) ? "pass.needAccount" : "pass";
48 login(userAccount, session, replyCode, replyMessageKey);
UserCommandHandler.java 22 import org.mockftpserver.fake.UserAccount;
29 * <li>If the named user does not need a password for login, then set the UserAccount and
41 UserAccount userAccount = getServerConfiguration().getUserAccount(username);
43 if (userAccount != null) {
48 // If the UserAccount is configured to not require password for login
49 if (!userAccount.isPasswordRequiredForLogin()) {
50 login(userAccount, session, ReplyCodes.USER_LOGGED_IN_OK, "user.loggedIn");
  /external/mockftpserver/MockFtpServer/src/main/java/org/mockftpserver/fake/
FakeFtpServer.java 52 * <li>Create and configure one or more <b>UserAccount</b> objects and attach to the <b>FakeFtpServer</b> instance.</li>
66 * // Create UserAccount with username, password, home-directory
67 * UserAccount userAccount = new UserAccount("joe", "joe123", "c:\\");
68 * fakeFtpServer.addUserAccounts(userAccount);
105 * // Create UserAccount with username, password, home-directory
106 * UserAccount userAccount = new UserAccount("joe", "joe123", "/");
    [all...]
  /external/mockftpserver/MockFtpServer/src/test/java/org/mockftpserver/fake/example/
RemoteFileTest.java 19 import org.mockftpserver.fake.UserAccount;
65 UserAccount userAccount = new UserAccount(RemoteFile.USERNAME, RemoteFile.PASSWORD, HOME_DIR);
66 fakeFtpServer.addUserAccount(userAccount);
  /prebuilts/gcc/linux-x86/host/x86_64-w64-mingw32-4.8/x86_64-w64-mingw32/include/
wsman.h 189 WSMAN_USERNAME_PASSWORD_CREDS userAccount;

Completed in 203 milliseconds