/external/apache-http/src/org/apache/http/auth/ |
D | BasicUserPrincipal.java | 51 private final String username; field in BasicUserPrincipal 53 public BasicUserPrincipal(final String username) { in BasicUserPrincipal() argument 55 if (username == null) { in BasicUserPrincipal() 58 this.username = username; in BasicUserPrincipal() 62 return this.username; in getName() 68 hash = LangUtils.hashCode(hash, this.username); in hashCode() 78 if (LangUtils.equals(this.username, that.username)) { in equals() 89 buffer.append(this.username); in toString()
|
D | NTUserPrincipal.java | 51 private final String username; field in NTUserPrincipal 57 final String username) { in NTUserPrincipal() argument 59 if (username == null) { in NTUserPrincipal() 62 this.username = username; in NTUserPrincipal() 72 buffer.append(this.username); in NTUserPrincipal() 75 this.ntname = this.username; in NTUserPrincipal() 88 return this.username; in getUsername() 94 hash = LangUtils.hashCode(hash, this.username); in hashCode() 105 if (LangUtils.equals(this.username, that.username) in equals()
|
D | NTCredentials.java | 73 String username; in NTCredentials() local 76 username = usernamePassword.substring(0, atColon); in NTCredentials() 79 username = usernamePassword; in NTCredentials() 82 int atSlash = username.indexOf('/'); in NTCredentials() 85 username.substring(0, atSlash).toUpperCase(Locale.ENGLISH), in NTCredentials() 86 username.substring(atSlash + 1)); in NTCredentials() 90 username.substring(atSlash + 1)); in NTCredentials()
|
/external/wpa_supplicant_8/src/eap_peer/ |
D | mschapv2.c | 15 const u8 * mschapv2_remove_domain(const u8 *username, size_t *len) in mschapv2_remove_domain() argument 26 if (username[i] == '\\') { in mschapv2_remove_domain() 28 return username + i + 1; in mschapv2_remove_domain() 32 return username; in mschapv2_remove_domain() 44 const u8 *username; in mschapv2_derive_response() local 51 username = mschapv2_remove_domain(identity, &username_len); in mschapv2_derive_response() 53 username, username_len); in mschapv2_derive_response() 60 username, username_len); in mschapv2_derive_response() 67 username, username_len, in mschapv2_derive_response() 71 username, username_len, nt_response, in mschapv2_derive_response() [all …]
|
/external/chromium-trace/trace-viewer/third_party/Paste/paste/auth/ |
D | grantip.py | 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 103 username, role = value.split(':', 1) 105 username = value 107 if username == '-': 108 username = ''
|
D | form.py | 97 username = environ.get('REMOTE_USER','') 98 if username: 103 username = formvars.get('username') 105 if username and password: 106 if self.authfunc(environ, username, password): 108 environ['REMOTE_USER'] = username
|
/external/mockftpserver/tags/2.0-rc1/src/main/java/org/mockftpserver/fake/ |
D | UserAccount.java | 54 private String username; field in UserAccount 76 public UserAccount(String username, String password, String homeDirectory) { in UserAccount() argument 77 setUsername(username); in UserAccount() 83 return username; in getUsername() 86 public void setUsername(String username) { in setUsername() argument 87 this.username = username; in setUsername() 179 Assert.notNullOrEmpty(username, "username"); in isValidPassword() 194 return "UserAccount[username=" + username + "; password=" + password + "; homeDirectory=" in toString() 210 if (username == entry.getOwner()) { in canRead() 231 if (username == entry.getOwner()) { in canWrite() [all …]
|
/external/mockftpserver/tags/2.3/src/main/java/org/mockftpserver/fake/ |
D | UserAccount.java | 63 private String username; field in UserAccount 87 public UserAccount(String username, String password, String homeDirectory) { in UserAccount() argument 88 setUsername(username); in UserAccount() 94 return username; in getUsername() 97 public void setUsername(String username) { in setUsername() argument 98 this.username = username; in setUsername() 188 Assert.notNullOrEmpty(username, "username"); in isValidPassword() 203 return "UserAccount[username=" + username + "; password=" + password + "; homeDirectory=" in toString() 219 if (equalOrBothNull(username, entry.getOwner())) { in canRead() 240 if (equalOrBothNull(username, entry.getOwner())) { in canWrite() [all …]
|
/external/mockftpserver/tags/2.0/src/main/java/org/mockftpserver/fake/ |
D | UserAccount.java | 63 private String username; field in UserAccount 87 public UserAccount(String username, String password, String homeDirectory) { in UserAccount() argument 88 setUsername(username); in UserAccount() 94 return username; in getUsername() 97 public void setUsername(String username) { in setUsername() argument 98 this.username = username; in setUsername() 188 Assert.notNullOrEmpty(username, "username"); in isValidPassword() 203 return "UserAccount[username=" + username + "; password=" + password + "; homeDirectory=" in toString() 219 if (equalOrBothNull(username, entry.getOwner())) { in canRead() 240 if (equalOrBothNull(username, entry.getOwner())) { in canWrite() [all …]
|
/external/mockftpserver/tags/2.5/src/main/java/org/mockftpserver/fake/ |
D | UserAccount.java | 63 private String username; field in UserAccount 87 public UserAccount(String username, String password, String homeDirectory) { in UserAccount() argument 88 setUsername(username); in UserAccount() 94 return username; in getUsername() 97 public void setUsername(String username) { in setUsername() argument 98 this.username = username; in setUsername() 188 Assert.notNullOrEmpty(username, "username"); in isValidPassword() 203 return "UserAccount[username=" + username + "; password=" + password + "; homeDirectory=" in toString() 219 if (equalOrBothNull(username, entry.getOwner())) { in canRead() 240 if (equalOrBothNull(username, entry.getOwner())) { in canWrite() [all …]
|
/external/mockftpserver/tags/2.0.2/src/main/java/org/mockftpserver/fake/ |
D | UserAccount.java | 63 private String username; field in UserAccount 87 public UserAccount(String username, String password, String homeDirectory) { in UserAccount() argument 88 setUsername(username); in UserAccount() 94 return username; in getUsername() 97 public void setUsername(String username) { in setUsername() argument 98 this.username = username; in setUsername() 188 Assert.notNullOrEmpty(username, "username"); in isValidPassword() 203 return "UserAccount[username=" + username + "; password=" + password + "; homeDirectory=" in toString() 219 if (equalOrBothNull(username, entry.getOwner())) { in canRead() 240 if (equalOrBothNull(username, entry.getOwner())) { in canWrite() [all …]
|
/external/mockftpserver/tags/2.0.1/src/main/java/org/mockftpserver/fake/ |
D | UserAccount.java | 63 private String username; field in UserAccount 87 public UserAccount(String username, String password, String homeDirectory) { in UserAccount() argument 88 setUsername(username); in UserAccount() 94 return username; in getUsername() 97 public void setUsername(String username) { in setUsername() argument 98 this.username = username; in setUsername() 188 Assert.notNullOrEmpty(username, "username"); in isValidPassword() 203 return "UserAccount[username=" + username + "; password=" + password + "; homeDirectory=" in toString() 219 if (equalOrBothNull(username, entry.getOwner())) { in canRead() 240 if (equalOrBothNull(username, entry.getOwner())) { in canWrite() [all …]
|
/external/mockftpserver/tags/2.4/src/main/java/org/mockftpserver/fake/ |
D | UserAccount.java | 63 private String username; field in UserAccount 87 public UserAccount(String username, String password, String homeDirectory) { in UserAccount() argument 88 setUsername(username); in UserAccount() 94 return username; in getUsername() 97 public void setUsername(String username) { in setUsername() argument 98 this.username = username; in setUsername() 188 Assert.notNullOrEmpty(username, "username"); in isValidPassword() 203 return "UserAccount[username=" + username + "; password=" + password + "; homeDirectory=" in toString() 219 if (equalOrBothNull(username, entry.getOwner())) { in canRead() 240 if (equalOrBothNull(username, entry.getOwner())) { in canWrite() [all …]
|
/external/mockftpserver/tags/2.0-rc3/MockFtpServer/src/main/java/org/mockftpserver/fake/ |
D | UserAccount.java | 63 private String username; field in UserAccount 87 public UserAccount(String username, String password, String homeDirectory) { in UserAccount() argument 88 setUsername(username); in UserAccount() 94 return username; in getUsername() 97 public void setUsername(String username) { in setUsername() argument 98 this.username = username; in setUsername() 188 Assert.notNullOrEmpty(username, "username"); in isValidPassword() 203 return "UserAccount[username=" + username + "; password=" + password + "; homeDirectory=" in toString() 219 if (equalOrBothNull(username, entry.getOwner())) { in canRead() 240 if (equalOrBothNull(username, entry.getOwner())) { in canWrite() [all …]
|
/external/mockftpserver/tags/2.0-rc1/MockFtpServer/src/main/java/org/mockftpserver/fake/ |
D | UserAccount.java | 63 private String username; field in UserAccount 87 public UserAccount(String username, String password, String homeDirectory) { in UserAccount() argument 88 setUsername(username); in UserAccount() 94 return username; in getUsername() 97 public void setUsername(String username) { in setUsername() argument 98 this.username = username; in setUsername() 188 Assert.notNullOrEmpty(username, "username"); in isValidPassword() 203 return "UserAccount[username=" + username + "; password=" + password + "; homeDirectory=" in toString() 219 if (equalOrBothNull(username, entry.getOwner())) { in canRead() 240 if (equalOrBothNull(username, entry.getOwner())) { in canWrite() [all …]
|
/external/mockftpserver/tags/2.2/src/main/java/org/mockftpserver/fake/ |
D | UserAccount.java | 63 private String username; field in UserAccount 87 public UserAccount(String username, String password, String homeDirectory) { in UserAccount() argument 88 setUsername(username); in UserAccount() 94 return username; in getUsername() 97 public void setUsername(String username) { in setUsername() argument 98 this.username = username; in setUsername() 188 Assert.notNullOrEmpty(username, "username"); in isValidPassword() 203 return "UserAccount[username=" + username + "; password=" + password + "; homeDirectory=" in toString() 219 if (equalOrBothNull(username, entry.getOwner())) { in canRead() 240 if (equalOrBothNull(username, entry.getOwner())) { in canWrite() [all …]
|
/external/mockftpserver/MockFtpServer/src/main/java/org/mockftpserver/fake/ |
D | UserAccount.java | 63 private String username; field in UserAccount 87 public UserAccount(String username, String password, String homeDirectory) { in UserAccount() argument 88 setUsername(username); in UserAccount() 94 return username; in getUsername() 97 public void setUsername(String username) { in setUsername() argument 98 this.username = username; in setUsername() 188 Assert.notNullOrEmpty(username, "username"); in isValidPassword() 203 return "UserAccount[username=" + username + "; password=" + password + "; homeDirectory=" in toString() 219 if (equalOrBothNull(username, entry.getOwner())) { in canRead() 240 if (equalOrBothNull(username, entry.getOwner())) { in canWrite() [all …]
|
/external/mockftpserver/tags/2.1/src/main/java/org/mockftpserver/fake/ |
D | UserAccount.java | 63 private String username; field in UserAccount 87 public UserAccount(String username, String password, String homeDirectory) { in UserAccount() argument 88 setUsername(username); in UserAccount() 94 return username; in getUsername() 97 public void setUsername(String username) { in setUsername() argument 98 this.username = username; in setUsername() 188 Assert.notNullOrEmpty(username, "username"); in isValidPassword() 203 return "UserAccount[username=" + username + "; password=" + password + "; homeDirectory=" in toString() 219 if (equalOrBothNull(username, entry.getOwner())) { in canRead() 240 if (equalOrBothNull(username, entry.getOwner())) { in canWrite() [all …]
|
/external/toybox/toys/other/ |
D | login.c | 147 char username[33], *pass = NULL, **ss; in login_main() local 167 username[sizeof(username)-1] = 0; in login_main() 168 if (*toys.optargs) xstrncpy(username, *toys.optargs, sizeof(username)); in login_main() 170 read_user(username, sizeof(username)); in login_main() 171 if (!*username) continue; in login_main() 174 pwd = getpwnam(username); in login_main() 186 spwd = getspnam (username); in login_main() 194 syslog(LOG_WARNING, "invalid password for '%s' on %s %s %s", username, in login_main() 203 *username = 0; in login_main()
|
/external/chromium-trace/trace-viewer/third_party/Paste/tests/test_auth/ |
D | test_auth_digest.py | 23 def backwords(environ, realm, username): argument 25 password = list(username) 28 return digest_password(realm, username, password) 33 def check(username, password, path="/"): argument 39 response = AUTHORIZATION(username=username, password=password, 41 assert "Digest" in response and username in response 68 def authfetch(username,password,path="/",realm=realm): argument 74 auth.add_password(realm,uri,username,password)
|
/external/jetty/src/java/org/eclipse/jetty/security/ |
D | PropertyUserStore.java | 141 String username = ((String)entry.getKey()).trim(); in loadUsers() local 151 … if (username != null && username.length() > 0 && credentials != null && credentials.length() > 0) in loadUsers() 158 known.add(username); in loadUsers() 161 Principal userPrincipal = new KnownUser(username,credential); in loadUsers() 176 …_knownUserIdentities.put(username,_identityService.newUserIdentity(subject,userPrincipal,roleArray… in loadUsers() 177 notifyUpdate(username,credential,roleArray); in loadUsers() 308 private void notifyUpdate(String username, Credential credential, String[] roleArray) in notifyUpdate() argument 314 i.next().update(username,credential,roleArray); in notifyUpdate() 324 private void notifyRemove(String username) in notifyRemove() argument 330 i.next().remove(username); in notifyRemove() [all …]
|
/external/selinux/libselinux/src/ |
D | seusers.c | 178 char *username = NULL; in getseuserbyname() local 195 rc = process_seusers(buffer, &username, &seuser, &level, in getseuserbyname() 205 if (!strcmp(username, name)) in getseuserbyname() 208 if (username[0] == '%' && in getseuserbyname() 210 check_group(&username[1], name, gid)) { in getseuserbyname() 215 !strcmp(username, "__default__")) { in getseuserbyname() 223 free(username); in getseuserbyname() 224 username = NULL; in getseuserbyname() 232 free(username); in getseuserbyname() 268 int getseuser(const char *username, const char *service, in getseuser() argument [all …]
|
/external/wpa_supplicant_8/src/eap_server/ |
D | eap_server_aka.c | 92 const char *username) in eap_aka_check_identity_reauth() argument 95 username[0] != EAP_AKA_PRIME_REAUTH_ID_PREFIX) in eap_aka_check_identity_reauth() 98 username[0] != EAP_AKA_REAUTH_ID_PREFIX) in eap_aka_check_identity_reauth() 101 wpa_printf(MSG_DEBUG, "EAP-AKA: Reauth username '%s'", username); in eap_aka_check_identity_reauth() 103 username); in eap_aka_check_identity_reauth() 134 char *username; in eap_aka_check_identity() local 138 username = sim_get_username(sm->identity, sm->identity_len); in eap_aka_check_identity() 139 if (username == NULL) in eap_aka_check_identity() 142 if (eap_aka_check_identity_reauth(sm, data, username) > 0) { in eap_aka_check_identity() 143 os_free(username); in eap_aka_check_identity() [all …]
|
/external/libvncserver/x11vnc/misc/ |
D | desktop.cgi | 589 if (!$request{username} && !$request{password}) { 591 } elsif (!$request{username}) { 600 my $username = $request{username}; 613 ($username, $redirect_host) = split(/@/, $username, 2); 632 if ($username eq $_) { 654 if ($username eq $_) { 667 if ($username !~ /^\w[-\w]*$/) { 675 my $uid = `/usr/bin/id -u '$username'`; 688 print X11VNC "$username:$password\n"; 892 print X11VNC "$username:$password\n"; [all …]
|
/external/mockftpserver/MockFtpServer/src/test/groovy/org/mockftpserver/fake/ |
D | UserAccountTest.groovy | 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 105 // UserAccount has no username or group; use World permissions 109 userAccount.username = USERNAME 129 // UserAccount has no username or group; use World permissions [all …]
|