Home
last modified time | relevance | path

Searched refs:username (Results 1 – 25 of 195) sorted by relevance

12345678

/external/webkit/WebKitTools/Scripts/webkitpy/
Dcredentials.py73 username = self._keychain_value_with_label("^\s*\"acct\"<blob>=",
77 return [username, password]
79 def _run_security_tool(self, username=None): argument
87 if username:
88 security_command += ["-a", username]
101 def _credentials_from_keychain(self, username=None): argument
103 return [username, None]
105 security_output = self._run_security_tool(username)
112 username = None
117 (username, password) = self._credentials_from_git()
[all …]
Dcredentials_unittest.py88 def _assert_security_call(self, username=None): argument
93 …OutputCapture().assert_outputs(self, credentials._run_security_tool, [username], expected_stderr=e…
96 if username:
97 security_args += ["-a", username]
102 self._assert_security_call(username="foo")
118 def _credentials_from_keychain(self, username): argument
/external/apache-http/src/org/apache/http/auth/
DBasicUserPrincipal.java46 private final String username; field in BasicUserPrincipal
48 public BasicUserPrincipal(final String username) { in BasicUserPrincipal() argument
50 if (username == null) { in BasicUserPrincipal()
53 this.username = username; in BasicUserPrincipal()
57 return this.username; in getName()
63 hash = LangUtils.hashCode(hash, this.username); in hashCode()
73 if (LangUtils.equals(this.username, that.username)) { in equals()
84 buffer.append(this.username); in toString()
DNTUserPrincipal.java46 private final String username; field in NTUserPrincipal
52 final String username) { in NTUserPrincipal() argument
54 if (username == null) { in NTUserPrincipal()
57 this.username = username; in NTUserPrincipal()
67 buffer.append(this.username); in NTUserPrincipal()
70 this.ntname = this.username; in NTUserPrincipal()
83 return this.username; in getUsername()
89 hash = LangUtils.hashCode(hash, this.username); in hashCode()
100 if (LangUtils.equals(this.username, that.username) in equals()
DNTCredentials.java68 String username; in NTCredentials() local
71 username = usernamePassword.substring(0, atColon); in NTCredentials()
74 username = usernamePassword; in NTCredentials()
77 int atSlash = username.indexOf('/'); in NTCredentials()
80 username.substring(0, atSlash).toUpperCase(Locale.ENGLISH), in NTCredentials()
81 username.substring(atSlash + 1)); in NTCredentials()
85 username.substring(atSlash + 1)); in NTCredentials()
/external/wpa_supplicant_6/wpa_supplicant/src/eap_peer/
Dmschapv2.c21 const u8 * mschapv2_remove_domain(const u8 *username, size_t *len) in mschapv2_remove_domain() argument
32 if (username[i] == '\\') { in mschapv2_remove_domain()
34 return username + i + 1; in mschapv2_remove_domain()
38 return username; in mschapv2_remove_domain()
50 const u8 *username; in mschapv2_derive_response() local
57 username = mschapv2_remove_domain(identity, &username_len); in mschapv2_derive_response()
59 username, username_len); in mschapv2_derive_response()
66 username, username_len); in mschapv2_derive_response()
73 username, username_len, in mschapv2_derive_response()
77 username, username_len, nt_response, auth_response); in mschapv2_derive_response()
[all …]
/external/dropbear/
Dsvr-auth.c38 static int checkusername(unsigned char *username, unsigned int userlen);
94 unsigned char *username = NULL, *servicename = NULL, *methodname = NULL; in recv_msg_userauth_request() local
111 username = buf_getstring(ses.payload, &userlen); in recv_msg_userauth_request()
121 m_free(username); in recv_msg_userauth_request()
137 if (checkusername(username, userlen) == DROPBEAR_FAILURE) { in recv_msg_userauth_request()
185 m_free(username); in recv_msg_userauth_request()
193 static int checkusername(unsigned char *username, unsigned int userlen) { in checkusername() argument
204 if (ses.authstate.username == NULL || in checkusername()
205 strcmp(username, ses.authstate.username) != 0) { in checkusername()
207 if (ses.authstate.username != NULL) { in checkusername()
[all …]
Dloginrec.c235 logininfo *login_alloc_entry(int pid, const char *username, in login_alloc_entry() argument
241 (void)login_init_entry(newli, pid, username, hostname, line); in login_alloc_entry()
263 login_init_entry(struct logininfo *li, int pid, const char *username, in login_init_entry() argument
276 if (username) { in login_init_entry()
277 strlcpy(li->username, username, sizeof(li->username)); in login_init_entry()
278 pw = getpwnam(li->username); in login_init_entry()
281 li->username); in login_init_entry()
539 strncpy(ut->ut_name, li->username, MIN_SIZEOF(ut->ut_name, li->username)); in construct_utmp()
610 strncpy(utx->ut_name, li->username, MIN_SIZEOF(utx->ut_name, li->username)); in construct_utmpx()
980 if (strncmp(li->username, ut->ut_name, in wtmp_islogin()
[all …]
/external/dbus/dbus/
Ddbus-userdb.c104 const DBusString *username, in _dbus_user_database_lookup() argument
110 _dbus_assert (uid != DBUS_UID_UNSET || username != NULL); in _dbus_user_database_lookup()
117 if (_dbus_is_a_number (username, &n)) in _dbus_user_database_lookup()
124 … info = _dbus_hash_table_lookup_string (db->users_by_name, _dbus_string_get_const_data (username)); in _dbus_user_database_lookup()
139 _dbus_string_get_const_data (username)); in _dbus_user_database_lookup()
159 if (!_dbus_user_info_fill (info, username, error)) in _dbus_user_database_lookup()
169 username = NULL; in _dbus_user_database_lookup()
180 info->username, in _dbus_user_database_lookup()
262 info->username) || in init_system_db()
322 _dbus_username_from_current_process (const DBusString **username) in _dbus_username_from_current_process() argument
[all …]
Ddbus-auth-script.c426 DBusString username; in _dbus_auth_script_run() local
428 if (!_dbus_string_init (&username)) in _dbus_auth_script_run()
435 if (!_dbus_string_append_uint (&username, in _dbus_auth_script_run()
439 _dbus_string_free (&username); in _dbus_auth_script_run()
446 if (!_dbus_string_hex_encode (&username, 0, in _dbus_auth_script_run()
450 _dbus_string_free (&username); in _dbus_auth_script_run()
455 _dbus_string_free (&username); in _dbus_auth_script_run()
460 DBusString username; in _dbus_auth_script_run() local
463 if (!_dbus_string_init (&username)) in _dbus_auth_script_run()
471 !_dbus_string_copy (u, 0, &username, in _dbus_auth_script_run()
[all …]
Ddbus-userdb.h70 const DBusString *username,
81 const DBusString *username,
95 dbus_bool_t _dbus_username_from_current_process (const DBusString **username);
97 dbus_bool_t _dbus_homedir_from_username (const DBusString *username,
99 dbus_bool_t _dbus_get_user_id (const DBusString *username,
103 dbus_bool_t _dbus_credentials_from_username (const DBusString *username,
/external/chromium/net/ftp/
Dftp_auth_cache.cc23 void FtpAuthCache::Add(const GURL& origin, const std::wstring& username, in Add() argument
30 entry->username = username; in Add()
33 entries_.push_front(Entry(origin, username, password)); in Add()
41 void FtpAuthCache::Remove(const GURL& origin, const std::wstring& username, in Remove() argument
44 if (it->origin == origin && it->username == username && in Remove()
Dftp_auth_cache.h29 Entry(const GURL& origin, const std::wstring& username, in Entry()
32 username(username), in Entry()
37 std::wstring username; member
50 void Add(const GURL& origin, const std::wstring& username,
55 void Remove(const GURL& origin, const std::wstring& username,
/external/wpa_supplicant/tests/
Dtest_ms_funcs.c21 u8 *username = "User"; in main() local
65 username, strlen(username), in main()
79 username, strlen(username), in main()
95 username, strlen(username), in main()
/external/wpa_supplicant_6/wpa_supplicant/tests/
Dtest_ms_funcs.c21 u8 *username = "User"; in main() local
65 username, strlen(username), in main()
79 username, strlen(username), in main()
95 username, strlen(username), in main()
/external/wpa_supplicant/
Dms_funcs.c33 const u8 *username, size_t username_len, in challenge_hash() argument
44 addr[2] = username; in challenge_hash()
121 const u8 *username, size_t username_len, in generate_nt_response() argument
128 challenge_hash(peer_challenge, auth_challenge, username, username_len, in generate_nt_response()
146 const u8 *username, size_t username_len, in generate_nt_response_pwhash() argument
152 challenge_hash(peer_challenge, auth_challenge, username, username_len, in generate_nt_response_pwhash()
172 const u8 *username, size_t username_len, in generate_authenticator_response_pwhash() argument
206 challenge_hash(peer_challenge, auth_challenge, username, username_len, in generate_authenticator_response_pwhash()
227 const u8 *username, size_t username_len, in generate_authenticator_response() argument
234 username, username_len, in generate_authenticator_response()
Deap_mschapv2.c159 static const u8 * eap_mschapv2_remove_domain(const u8 *username, size_t *len) in eap_mschapv2_remove_domain() argument
170 if (username[i] == '\\') { in eap_mschapv2_remove_domain()
172 return username + i + 1; in eap_mschapv2_remove_domain()
176 return username; in eap_mschapv2_remove_domain()
182 const u8 *username, size_t username_len, in eap_mschapv2_derive_response() argument
194 username, username_len); in eap_mschapv2_derive_response()
198 username, username_len, in eap_mschapv2_derive_response()
206 username, username_len, nt_response, in eap_mschapv2_derive_response()
231 const u8 *username, *identity, *password; in eap_mschapv2_challenge_reply() local
241 username = eap_mschapv2_remove_domain(identity, &username_len); in eap_mschapv2_challenge_reply()
[all …]
Dms_funcs.h19 const u8 *username, size_t username_len,
24 const u8 *username, size_t username_len,
30 const u8 *username, size_t username_len,
35 const u8 *username, size_t username_len,
/external/wpa_supplicant_6/wpa_supplicant/src/crypto/
Dms_funcs.c33 const u8 *username, size_t username_len, in challenge_hash() argument
44 addr[2] = username; in challenge_hash()
121 const u8 *username, size_t username_len, in generate_nt_response() argument
128 challenge_hash(peer_challenge, auth_challenge, username, username_len, in generate_nt_response()
146 const u8 *username, size_t username_len, in generate_nt_response_pwhash() argument
152 challenge_hash(peer_challenge, auth_challenge, username, username_len, in generate_nt_response_pwhash()
172 const u8 *username, size_t username_len, in generate_authenticator_response_pwhash() argument
206 challenge_hash(peer_challenge, auth_challenge, username, username_len, in generate_authenticator_response_pwhash()
227 const u8 *username, size_t username_len, in generate_authenticator_response() argument
234 username, username_len, in generate_authenticator_response()
/external/chromium/net/http/
Dhttp_auth_handler_ntlm.cc14 const std::wstring& username, in GenerateCredentials() argument
22 username, in GenerateCredentials()
44 size_t backslash_idx = username.find(L'\\'); in GenerateCredentials()
46 user = username; in GenerateCredentials()
48 domain = username.substr(0, backslash_idx); in GenerateCredentials()
49 user = username.substr(backslash_idx + 1); in GenerateCredentials()
Dhttp_auth_handler_digest.cc81 const std::wstring& username, in GenerateCredentials() argument
102 WideToUTF8(username), in GenerateCredentials()
129 const std::string& username, in AssembleResponseDigest() argument
134 std::string ha1 = MD5String(username + ":" + realm_ + ":" + password); in AssembleResponseDigest()
153 const std::string& username, in AssembleCredentials() argument
161 HttpUtil::Quote(username); in AssembleCredentials()
169 std::string response = AssembleResponseDigest(method, path, username, in AssembleCredentials()
/external/chromium/googleurl/src/
Durl_parse.cc110 DoParseAuthority(spec, authority, &parsed->username, &parsed->password, in DoParseAfterScheme()
118 Component* username, in ParseUserInfo() argument
128 *username = Component(user.begin, colon_offset); in ParseUserInfo()
133 *username = user; in ParseUserInfo()
191 Component* username, in DoParseAuthority() argument
197 username->reset(); in DoParseAuthority()
213 username, password); in DoParseAuthority()
218 username->reset(); in DoParseAuthority()
342 parsed->username.reset(); in DoParsePathURL()
386 parsed->username.reset(); in DoParseMailtoURL()
[all …]
Durl_canon_etc.cc169 const url_parse::Component& username, in DoUserInfo() argument
175 if (username.len <= 0 && password.len <= 0) { in DoUserInfo()
184 if (username.len > 0) { in DoUserInfo()
186 AppendStringOfType(&username_spec[username.begin], username.len, in DoUserInfo()
335 const url_parse::Component& username, in CanonicalizeUserInfo() argument
342 username_source, username, password_source, password, in CanonicalizeUserInfo()
347 const url_parse::Component& username, in CanonicalizeUserInfo() argument
354 username_source, username, password_source, password, in CanonicalizeUserInfo()
/external/chromium/net/url_request/
Durl_request_new_ftp_job.cc93 void URLRequestNewFtpJob::SetAuth(const std::wstring& username, in SetAuth() argument
97 server_auth_->username = username; in SetAuth()
101 username, password); in SetAuth()
155 server_auth_->username, in OnStartCompleted()
167 SetAuth(cached_auth->username, cached_auth->password); in OnStartCompleted()
197 int rv = transaction_->RestartWithAuth(server_auth_->username, in RestartTransactionWithAuth()
/external/ppp/pppd/plugins/
Dwinbind.c250 unsigned int run_ntlm_auth(const char *username, in run_ntlm_auth() argument
331 if (username) { in run_ntlm_auth()
332 char *b64_username = base64_encode(username); in run_ntlm_auth()
526 char *username; in winbind_chap_verify() local
535 if ((username = strrchr(user, '\\')) != NULL) in winbind_chap_verify()
536 ++username; in winbind_chap_verify()
538 username = user; in winbind_chap_verify()
583 if (run_ntlm_auth(username, in winbind_chap_verify()
625 if (run_ntlm_auth(username, in winbind_chap_verify()

12345678