/external/mockftpserver/MockFtpServer/src/test/groovy/org/mockftpserver/fake/ |
D | UserAccountTest.groovy | 32 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.5/src/test/groovy/org/mockftpserver/fake/ |
D | UserAccountTest.groovy | 32 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/ |
D | UserAccountTest.groovy | 32 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/ |
D | UserAccountTest.groovy | 34 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/ |
D | UserAccountTest.groovy | 34 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/ |
D | UserAccountTest.groovy | 32 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.1/src/test/groovy/org/mockftpserver/fake/ |
D | UserAccountTest.groovy | 34 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.1/src/test/groovy/org/mockftpserver/fake/ |
D | UserAccountTest.groovy | 34 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/ |
D | UserAccountTest.groovy | 36 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.3/src/test/groovy/org/mockftpserver/fake/ |
D | UserAccountTest.groovy | 32 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-rc1/MockFtpServer/src/test/groovy/org/mockftpserver/fake/ |
D | UserAccountTest.groovy | 34 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/ |
D | UserAccountTest.groovy | 34 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/chromium-trace/catapult/third_party/gsutil/third_party/boto/tests/unit/dynamodb2/ |
D | test_table.py | 70 HashKey('username'), 81 {'AttributeName': 'username', 'AttributeType': 'S'}, 88 'AttributeName': 'username', 103 HashKey('username'), 114 {'AttributeName': 'username', 'AttributeType': 'S'}, 121 'AttributeName': 'username', 136 HashKey('username'), 150 {'AttributeName': 'username', 'AttributeType': 'S'}, 157 'AttributeName': 'username', 176 HashKey('username'), [all …]
|
/external/chromium-trace/catapult/third_party/gsutil/third_party/boto/tests/integration/dynamodb2/ |
D | test_highlevel.py | 50 HashKey('username'), 57 HashKey('username'), 78 'username': 'johndoe', 85 'username': 'alice', 96 'username': 'jane', 101 batch.delete_item(username='alice', friend_count=2) 103 'username': 'bob', 112 self.assertTrue(users.has_item(username='jane', friend_count=3)) 115 username='mrcarmichaeljones', 122 jane = users.get_item(username='jane', friend_count=3) [all …]
|
/external/autotest/frontend/ |
D | apache_auth.py | 19 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/dbus/dbus/ |
D | dbus-userdb.c | 79 dbus_free (info->username); in _dbus_user_info_free() 116 * Looks up a uid or username in the user database. Only one of name 123 * @param username username or #NULL 130 const DBusString *username, in _dbus_user_database_lookup() argument 136 _dbus_assert (uid != DBUS_UID_UNSET || username != NULL); in _dbus_user_database_lookup() 138 /* See if the username is really a number */ in _dbus_user_database_lookup() 143 if (_dbus_is_a_number (username, &n)) in _dbus_user_database_lookup() 151 … info = _dbus_hash_table_lookup_string (db->users_by_name, _dbus_string_get_const_data (username)); in _dbus_user_database_lookup() 169 _dbus_string_get_const_data (username)); in _dbus_user_database_lookup() 189 if (!_dbus_user_info_fill (info, username, error)) in _dbus_user_database_lookup() [all …]
|
/external/chromium-trace/catapult/third_party/Paste/paste/auth/ |
D | grantip.py | 15 ``ip_map`` is a map of {ip_mask: (username, roles)}. Either 16 ``username`` or ``roles`` may be None. Roles may also be prefixed 18 revoked. ``'__remove__'`` for a username will remove the username. 22 ``'__remove__'`` will always clobber the username. 37 def _convert_user_role(self, username, roles): argument 40 return (username, roles) 46 for range, (username, roles) in self.ip_map: 50 if username == '__remove__': 52 elif username: 55 environ['REMOTE_USER'] = username [all …]
|
/external/mockftpserver/tags/2.0.2/src/test/groovy/org/mockftpserver/fake/command/ |
D | UserCommandHandlerTest.groovy | 34 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.2/src/test/groovy/org/mockftpserver/fake/command/ |
D | UserCommandHandlerTest.groovy | 34 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/ |
D | UserCommandHandlerTest.groovy | 34 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/ |
D | UserCommandHandlerTest.groovy | 34 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.3/src/test/groovy/org/mockftpserver/fake/command/ |
D | UserCommandHandlerTest.groovy | 34 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/ |
D | UserCommandHandlerTest.groovy | 34 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/ |
D | UserCommandHandlerTest.groovy | 35 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.1/src/test/groovy/org/mockftpserver/fake/command/ |
D | UserCommandHandlerTest.groovy | 34 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 …]
|