Home | History | Annotate | Download | only in base

Lines Matching refs:username

351     // Check for the presence of USERNAME and MESSAGE-INTEGRITY (if ICE) first.
355 LOG_J(LS_ERROR, this) << "Received STUN request without username/M-I "
362 // If the username is bad or unknown, fail with a 401 Unauthorized.
367 LOG_J(LS_ERROR, this) << "Received STUN request with bad local username "
401 // NOTE: Username should not be used in verifying response messages.
438 // The packet must include a username that either begins or ends with our
449 const std::string username = username_attr->GetString();
450 size_t colon_pos = username.find(":");
455 *local_ufrag = username.substr(0, colon_pos);
456 *remote_ufrag = username.substr(colon_pos + 1, username.size());
474 // If |remote_ufrag| is same as port local username fragment and
533 // Retrieve the username from the request.
538 // No valid username, skip the response.
681 std::string username;
683 connection_->remote_candidate().username(), &username);
685 new StunByteStringAttribute(STUN_ATTR_USERNAME, username));
915 if (remote_ufrag == remote_candidate_.username()) {
918 // The packet had the right local username, but the remote username
921 username "
961 const std::string& remote_ufrag = remote_candidate_.username();
1111 // the correct local and remote username for this connection.
1284 if (remote_candidate_.username() == ice_ufrag &&
1296 remote_candidate_.username() == new_candidate.username() &&
1387 new_local_candidate.set_username(local_candidate().username());