Home
last modified time | relevance | path

Searched full:username (Results 1 – 25 of 1321) sorted by relevance

12345678910>>...53

/external/mockftpserver/tags/2.5/src/test/groovy/org/mockftpserver/fake/
DUserAccountTest.groovy32 private static final USERNAME = "user123"
40 def acct = new UserAccount(USERNAME, PASSWORD, HOME_DIR)
41 assert acct.username == USERNAME
60 userAccount.username = USERNAME
71 shouldFailWithMessageContaining('username') { userAccount.isValidPassword(PASSWORD) }
73 userAccount.username = ''
74 shouldFailWithMessageContaining('username') { userAccount.isValidPassword(PASSWORD) }
79 customUserAccount.username = USERNAME
87 userAccount.username = USERNAME
103 testCanRead(USERNAME, GROUP, null, true)
[all …]
/external/mockftpserver/tags/2.3/src/test/groovy/org/mockftpserver/fake/
DUserAccountTest.groovy32 private static final USERNAME = "user123"
40 def acct = new UserAccount(USERNAME, PASSWORD, HOME_DIR)
41 assert acct.username == USERNAME
60 userAccount.username = USERNAME
71 shouldFailWithMessageContaining('username') { userAccount.isValidPassword(PASSWORD) }
73 userAccount.username = ''
74 shouldFailWithMessageContaining('username') { userAccount.isValidPassword(PASSWORD) }
79 customUserAccount.username = USERNAME
87 userAccount.username = USERNAME
103 testCanRead(USERNAME, GROUP, null, true)
[all …]
/external/mockftpserver/MockFtpServer/src/test/groovy/org/mockftpserver/fake/
DUserAccountTest.groovy32 private static final USERNAME = "user123"
40 def acct = new UserAccount(USERNAME, PASSWORD, HOME_DIR)
41 assert acct.username == USERNAME
60 userAccount.username = USERNAME
71 shouldFailWithMessageContaining('username') { userAccount.isValidPassword(PASSWORD) }
73 userAccount.username = ''
74 shouldFailWithMessageContaining('username') { userAccount.isValidPassword(PASSWORD) }
79 customUserAccount.username = USERNAME
87 userAccount.username = USERNAME
103 testCanRead(USERNAME, GROUP, null, true)
[all …]
/external/mockftpserver/tags/2.1/src/test/groovy/org/mockftpserver/fake/
DUserAccountTest.groovy34 private static final USERNAME = "user123"
42 def acct = new UserAccount(USERNAME, PASSWORD, HOME_DIR)
43 assert acct.username == USERNAME
62 userAccount.username = USERNAME
73 shouldFailWithMessageContaining('username') { userAccount.isValidPassword(PASSWORD) }
75 userAccount.username = ''
76 shouldFailWithMessageContaining('username') { userAccount.isValidPassword(PASSWORD) }
81 customUserAccount.username = USERNAME
89 userAccount.username = USERNAME
105 testCanRead(USERNAME, GROUP, null, true)
[all …]
/external/mockftpserver/tags/2.0/src/test/groovy/org/mockftpserver/fake/
DUserAccountTest.groovy34 private static final USERNAME = "user123"
42 def acct = new UserAccount(USERNAME, PASSWORD, HOME_DIR)
43 assert acct.username == USERNAME
62 userAccount.username = USERNAME
73 shouldFailWithMessageContaining('username') { userAccount.isValidPassword(PASSWORD) }
75 userAccount.username = ''
76 shouldFailWithMessageContaining('username') { userAccount.isValidPassword(PASSWORD) }
81 customUserAccount.username = USERNAME
89 userAccount.username = USERNAME
105 testCanRead(USERNAME, GROUP, null, true)
[all …]
/external/mockftpserver/tags/2.0.2/src/test/groovy/org/mockftpserver/fake/
DUserAccountTest.groovy34 private static final USERNAME = "user123"
42 def acct = new UserAccount(USERNAME, PASSWORD, HOME_DIR)
43 assert acct.username == USERNAME
62 userAccount.username = USERNAME
73 shouldFailWithMessageContaining('username') { userAccount.isValidPassword(PASSWORD) }
75 userAccount.username = ''
76 shouldFailWithMessageContaining('username') { userAccount.isValidPassword(PASSWORD) }
81 customUserAccount.username = USERNAME
89 userAccount.username = USERNAME
105 testCanRead(USERNAME, GROUP, null, true)
[all …]
/external/mockftpserver/tags/2.2/src/test/groovy/org/mockftpserver/fake/
DUserAccountTest.groovy32 private static final USERNAME = "user123"
40 def acct = new UserAccount(USERNAME, PASSWORD, HOME_DIR)
41 assert acct.username == USERNAME
60 userAccount.username = USERNAME
71 shouldFailWithMessageContaining('username') { userAccount.isValidPassword(PASSWORD) }
73 userAccount.username = ''
74 shouldFailWithMessageContaining('username') { userAccount.isValidPassword(PASSWORD) }
79 customUserAccount.username = USERNAME
87 userAccount.username = USERNAME
103 testCanRead(USERNAME, GROUP, null, true)
[all …]
/external/mockftpserver/tags/2.4/src/test/groovy/org/mockftpserver/fake/
DUserAccountTest.groovy32 private static final USERNAME = "user123"
40 def acct = new UserAccount(USERNAME, PASSWORD, HOME_DIR)
41 assert acct.username == USERNAME
60 userAccount.username = USERNAME
71 shouldFailWithMessageContaining('username') { userAccount.isValidPassword(PASSWORD) }
73 userAccount.username = ''
74 shouldFailWithMessageContaining('username') { userAccount.isValidPassword(PASSWORD) }
79 customUserAccount.username = USERNAME
87 userAccount.username = USERNAME
103 testCanRead(USERNAME, GROUP, null, true)
[all …]
/external/mockftpserver/tags/2.0-rc3/MockFtpServer/src/test/groovy/org/mockftpserver/fake/
DUserAccountTest.groovy34 private static final USERNAME = "user123"
42 def acct = new UserAccount(USERNAME, PASSWORD, HOME_DIR)
43 assert acct.username == USERNAME
62 userAccount.username = USERNAME
73 shouldFailWithMessageContaining('username') { userAccount.isValidPassword(PASSWORD) }
75 userAccount.username = ''
76 shouldFailWithMessageContaining('username') { userAccount.isValidPassword(PASSWORD) }
81 customUserAccount.username = USERNAME
89 userAccount.username = USERNAME
105 testCanRead(USERNAME, GROUP, null, true)
[all …]
/external/mockftpserver/tags/2.0-rc1/src/test/groovy/org/mockftpserver/fake/
DUserAccountTest.groovy36 private static final USERNAME = "user123"
44 def acct = new UserAccount(USERNAME, PASSWORD, HOME_DIR)
45 assert acct.username == USERNAME
64 userAccount.username = USERNAME
75 shouldFailWithMessageContaining('username') { userAccount.isValidPassword(PASSWORD) }
77 userAccount.username = ''
78 shouldFailWithMessageContaining('username') { userAccount.isValidPassword(PASSWORD) }
83 customUserAccount.username = USERNAME
91 userAccount.username = USERNAME
107 testCanRead(USERNAME, GROUP, null, true)
[all …]
/external/mockftpserver/tags/2.0-rc1/MockFtpServer/src/test/groovy/org/mockftpserver/fake/
DUserAccountTest.groovy34 private static final USERNAME = "user123"
42 def acct = new UserAccount(USERNAME, PASSWORD, HOME_DIR)
43 assert acct.username == USERNAME
62 userAccount.username = USERNAME
73 shouldFailWithMessageContaining('username') { userAccount.isValidPassword(PASSWORD) }
75 userAccount.username = ''
76 shouldFailWithMessageContaining('username') { userAccount.isValidPassword(PASSWORD) }
81 customUserAccount.username = USERNAME
89 userAccount.username = USERNAME
105 testCanRead(USERNAME, GROUP, null, true)
[all …]
/external/mockftpserver/tags/2.0.1/src/test/groovy/org/mockftpserver/fake/
DUserAccountTest.groovy34 private static final USERNAME = "user123"
42 def acct = new UserAccount(USERNAME, PASSWORD, HOME_DIR)
43 assert acct.username == USERNAME
62 userAccount.username = USERNAME
73 shouldFailWithMessageContaining('username') { userAccount.isValidPassword(PASSWORD) }
75 userAccount.username = ''
76 shouldFailWithMessageContaining('username') { userAccount.isValidPassword(PASSWORD) }
81 customUserAccount.username = USERNAME
89 userAccount.username = USERNAME
105 testCanRead(USERNAME, GROUP, null, true)
[all …]
/external/autotest/frontend/
Dapache_auth.py19 def authenticate(self, username=None, password=None): argument
21 user = User.objects.get(username=username)
24 user = User(username=username,
31 SimpleAuthBackend.check_afe_user(username)
36 def check_afe_user(username): argument
37 user, created = models.User.objects.get_or_create(login=username)
51 REMOTE_USER in headers and passed the username found to
53 HTTP_AUTHORIZATION header with username (this allows CLI to authenticate).
58 # look for a username from Apache
73 system, and replaces the username in thread_local with the actual User model
[all …]
/external/fonttools/Lib/fontTools/ufoLib/
Dfilenames.py21 def userNameToFileName(userName, existing=[], prefix="", suffix=""): argument
72 if not isinstance(userName, unicode):
73 raise ValueError("The value for userName must be a unicode string.")
79 if not prefix and userName[0] == ".":
80 userName = "_" + userName[1:]
83 for character in userName:
91 userName = "".join(filteredUserName)
94 userName = userName[:sliceLength]
97 for part in userName.split("."):
101 userName = ".".join(parts)
[all …]
/external/fonttools/Lib/fontTools/misc/
Dfilenames.py30 def userNameToFileName(userName, existing=[], prefix="", suffix=""): argument
81 if not isinstance(userName, unicode):
82 raise ValueError("The value for userName must be a unicode string.")
88 if not prefix and userName[0] == ".":
89 userName = "_" + userName[1:]
92 for character in userName:
100 userName = "".join(filteredUserName)
103 userName = userName[:sliceLength]
106 for part in userName.split("."):
110 userName = ".".join(parts)
[all …]
/external/mockftpserver/MockFtpServer/src/test/groovy/org/mockftpserver/fake/command/
DUserCommandHandlerTest.groovy34 static final USERNAME = "user123"
41 serverConfiguration.userAccounts[USERNAME] = userAccount
42 handleCommand([USERNAME])
49 handleCommand([USERNAME])
50 // Will return OK, even if username is not recognized
58 serverConfiguration.userAccounts[USERNAME] = userAccount
60 handleCommand([USERNAME])
69 serverConfiguration.userAccounts[USERNAME] = userAccount
70 handleCommand([USERNAME])
78 serverConfiguration.userAccounts[USERNAME] = userAccount
[all …]
/external/mockftpserver/tags/2.0.1/src/test/groovy/org/mockftpserver/fake/command/
DUserCommandHandlerTest.groovy34 static final USERNAME = "user123"
41 serverConfiguration.userAccounts[USERNAME] = userAccount
42 handleCommand([USERNAME])
49 handleCommand([USERNAME])
50 // Will return OK, even if username is not recognized
58 serverConfiguration.userAccounts[USERNAME] = userAccount
60 handleCommand([USERNAME])
69 serverConfiguration.userAccounts[USERNAME] = userAccount
70 handleCommand([USERNAME])
78 serverConfiguration.userAccounts[USERNAME] = userAccount
[all …]
/external/mockftpserver/tags/2.0-rc1/src/test/groovy/org/mockftpserver/fake/command/
DUserCommandHandlerTest.groovy35 static final USERNAME = "user123"
42 serverConfiguration.userAccounts[USERNAME] = userAccount
43 handleCommand([USERNAME])
50 handleCommand([USERNAME])
51 // Will return OK, even if username is not recognized
59 serverConfiguration.userAccounts[USERNAME] = userAccount
61 handleCommand([USERNAME])
70 serverConfiguration.userAccounts[USERNAME] = userAccount
71 handleCommand([USERNAME])
79 serverConfiguration.userAccounts[USERNAME] = userAccount
[all …]
/external/mockftpserver/tags/2.4/src/test/groovy/org/mockftpserver/fake/command/
DUserCommandHandlerTest.groovy34 static final USERNAME = "user123"
41 serverConfiguration.userAccounts[USERNAME] = userAccount
42 handleCommand([USERNAME])
49 handleCommand([USERNAME])
50 // Will return OK, even if username is not recognized
58 serverConfiguration.userAccounts[USERNAME] = userAccount
60 handleCommand([USERNAME])
69 serverConfiguration.userAccounts[USERNAME] = userAccount
70 handleCommand([USERNAME])
78 serverConfiguration.userAccounts[USERNAME] = userAccount
[all …]
/external/mockftpserver/tags/2.0.2/src/test/groovy/org/mockftpserver/fake/command/
DUserCommandHandlerTest.groovy34 static final USERNAME = "user123"
41 serverConfiguration.userAccounts[USERNAME] = userAccount
42 handleCommand([USERNAME])
49 handleCommand([USERNAME])
50 // Will return OK, even if username is not recognized
58 serverConfiguration.userAccounts[USERNAME] = userAccount
60 handleCommand([USERNAME])
69 serverConfiguration.userAccounts[USERNAME] = userAccount
70 handleCommand([USERNAME])
78 serverConfiguration.userAccounts[USERNAME] = userAccount
[all …]
/external/mockftpserver/tags/2.5/src/test/groovy/org/mockftpserver/fake/command/
DUserCommandHandlerTest.groovy34 static final USERNAME = "user123"
41 serverConfiguration.userAccounts[USERNAME] = userAccount
42 handleCommand([USERNAME])
49 handleCommand([USERNAME])
50 // Will return OK, even if username is not recognized
58 serverConfiguration.userAccounts[USERNAME] = userAccount
60 handleCommand([USERNAME])
69 serverConfiguration.userAccounts[USERNAME] = userAccount
70 handleCommand([USERNAME])
78 serverConfiguration.userAccounts[USERNAME] = userAccount
[all …]
/external/mockftpserver/tags/2.0-rc1/MockFtpServer/src/test/groovy/org/mockftpserver/fake/command/
DUserCommandHandlerTest.groovy34 static final USERNAME = "user123"
41 serverConfiguration.userAccounts[USERNAME] = userAccount
42 handleCommand([USERNAME])
49 handleCommand([USERNAME])
50 // Will return OK, even if username is not recognized
58 serverConfiguration.userAccounts[USERNAME] = userAccount
60 handleCommand([USERNAME])
69 serverConfiguration.userAccounts[USERNAME] = userAccount
70 handleCommand([USERNAME])
78 serverConfiguration.userAccounts[USERNAME] = userAccount
[all …]
/external/mockftpserver/tags/2.0-rc3/MockFtpServer/src/test/groovy/org/mockftpserver/fake/command/
DUserCommandHandlerTest.groovy34 static final USERNAME = "user123"
41 serverConfiguration.userAccounts[USERNAME] = userAccount
42 handleCommand([USERNAME])
49 handleCommand([USERNAME])
50 // Will return OK, even if username is not recognized
58 serverConfiguration.userAccounts[USERNAME] = userAccount
60 handleCommand([USERNAME])
69 serverConfiguration.userAccounts[USERNAME] = userAccount
70 handleCommand([USERNAME])
78 serverConfiguration.userAccounts[USERNAME] = userAccount
[all …]
/external/mockftpserver/tags/2.0/src/test/groovy/org/mockftpserver/fake/command/
DUserCommandHandlerTest.groovy34 static final USERNAME = "user123"
41 serverConfiguration.userAccounts[USERNAME] = userAccount
42 handleCommand([USERNAME])
49 handleCommand([USERNAME])
50 // Will return OK, even if username is not recognized
58 serverConfiguration.userAccounts[USERNAME] = userAccount
60 handleCommand([USERNAME])
69 serverConfiguration.userAccounts[USERNAME] = userAccount
70 handleCommand([USERNAME])
78 serverConfiguration.userAccounts[USERNAME] = userAccount
[all …]
/external/mockftpserver/tags/2.1/src/test/groovy/org/mockftpserver/fake/command/
DUserCommandHandlerTest.groovy34 static final USERNAME = "user123"
41 serverConfiguration.userAccounts[USERNAME] = userAccount
42 handleCommand([USERNAME])
49 handleCommand([USERNAME])
50 // Will return OK, even if username is not recognized
58 serverConfiguration.userAccounts[USERNAME] = userAccount
60 handleCommand([USERNAME])
69 serverConfiguration.userAccounts[USERNAME] = userAccount
70 handleCommand([USERNAME])
78 serverConfiguration.userAccounts[USERNAME] = userAccount
[all …]

12345678910>>...53