HomeSort by relevance Sort by last modified time
    Searched refs:HttpAuth (Results 1 - 25 of 111) sorted by null

1 2 3 4 5

  /external/chromium/net/http/
http_auth_filter_unittest.cc 32 HttpAuth::Target target;
39 HttpAuth::AUTH_NONE, false, 0 },
41 HttpAuth::AUTH_PROXY, true, ALL_SERVERS_MATCH },
43 HttpAuth::AUTH_SERVER, false, 0 },
45 HttpAuth::AUTH_NONE, false, 0 },
47 HttpAuth::AUTH_SERVER, true, 1 << 0 },
49 HttpAuth::AUTH_PROXY, true, ALL_SERVERS_MATCH },
51 HttpAuth::AUTH_NONE, false, 0 },
53 HttpAuth::AUTH_SERVER, true, 1 << 3 },
55 HttpAuth::AUTH_SERVER, true, 1 << 0 }
    [all...]
http_auth_handler_basic.h 25 virtual int CreateAuthHandler(HttpAuth::ChallengeTokenizer* challenge,
26 HttpAuth::Target target,
34 virtual HttpAuth::AuthorizationResult HandleAnotherChallenge(
35 HttpAuth::ChallengeTokenizer* challenge);
38 virtual bool Init(HttpAuth::ChallengeTokenizer* challenge);
49 bool ParseChallenge(HttpAuth::ChallengeTokenizer* challenge);
http_auth_filter.cc 29 HttpAuth::Target target) {
30 if ((target != HttpAuth::AUTH_SERVER) && (target != HttpAuth::AUTH_PROXY))
33 if (target == HttpAuth::AUTH_PROXY)
44 HttpAuth::Target target) const {
45 if ((target != HttpAuth::AUTH_SERVER) && (target != HttpAuth::AUTH_PROXY))
48 if (target == HttpAuth::AUTH_PROXY)
http_auth_handler.h 33 bool InitFromChallenge(HttpAuth::ChallengeTokenizer* challenge,
34 HttpAuth::Target target,
51 virtual HttpAuth::AuthorizationResult HandleAnotherChallenge(
52 HttpAuth::ChallengeTokenizer* challenge) = 0;
79 HttpAuth::Scheme auth_scheme() const {
94 // numbers are better. Used by HttpAuth::ChooseBestChallenge().
99 HttpAuth::Target target() const {
149 virtual bool Init(HttpAuth::ChallengeTokenizer* challenge) = 0;
161 HttpAuth::Scheme auth_scheme_;
178 HttpAuth::Target target_
    [all...]
http_auth.cc 21 HttpAuth::Identity::Identity() : source(IDENT_SRC_NONE), invalid(true) {}
24 void HttpAuth::ChooseBestChallenge(
57 HttpAuth::AuthorizationResult HttpAuth::HandleChallengeResponse(
67 HttpAuth::Scheme current_scheme = handler->auth_scheme();
69 return HttpAuth::AUTHORIZATION_RESULT_REJECT;
74 HttpAuth::AuthorizationResult authorization_result =
75 HttpAuth::AUTHORIZATION_RESULT_INVALID;
77 HttpAuth::ChallengeTokenizer props(challenge.begin(), challenge.end());
81 if (authorization_result != HttpAuth::AUTHORIZATION_RESULT_INVALID)
    [all...]
http_auth_handler_mock.h 39 void set_mock_handler(HttpAuthHandler* handler, HttpAuth::Target target);
46 virtual int CreateAuthHandler(HttpAuth::ChallengeTokenizer* challenge,
47 HttpAuth::Target target,
55 scoped_ptr<HttpAuthHandler> handlers_[HttpAuth::AUTH_NUM_TARGETS];
82 virtual HttpAuth::AuthorizationResult HandleAnotherChallenge(
83 HttpAuth::ChallengeTokenizer* challenge);
87 virtual bool Init(HttpAuth::ChallengeTokenizer* challenge);
http_auth_handler_basic.cc 25 bool HttpAuthHandlerBasic::Init(HttpAuth::ChallengeTokenizer* challenge) {
26 auth_scheme_ = HttpAuth::AUTH_SCHEME_BASIC;
33 HttpAuth::ChallengeTokenizer* challenge) {
54 HttpAuth::AuthorizationResult HttpAuthHandlerBasic::HandleAnotherChallenge(
55 HttpAuth::ChallengeTokenizer* challenge) {
66 HttpAuth::AUTHORIZATION_RESULT_DIFFERENT_REALM:
67 HttpAuth::AUTHORIZATION_RESULT_REJECT;
94 HttpAuth::ChallengeTokenizer* challenge,
95 HttpAuth::Target target,
http_auth_filter.h 27 virtual bool IsValid(const GURL& url, HttpAuth::Target target) const = 0;
41 bool AddFilter(const std::string& filter, HttpAuth::Target target);
49 virtual bool IsValid(const GURL& url, HttpAuth::Target target) const;
http_auth_handler_ntlm.cc 18 HttpAuth::AuthorizationResult HttpAuthHandlerNTLM::HandleAnotherChallenge(
19 HttpAuth::ChallengeTokenizer* challenge) {
23 bool HttpAuthHandlerNTLM::Init(HttpAuth::ChallengeTokenizer* tok) {
24 auth_scheme_ = HttpAuth::AUTH_SCHEME_NTLM;
28 return ParseChallenge(tok, true) == HttpAuth::AUTHORIZATION_RESULT_ACCEPT;
110 HttpAuth::AuthorizationResult HttpAuthHandlerNTLM::ParseChallenge(
111 HttpAuth::ChallengeTokenizer* tok, bool initial_challenge) {
125 return HttpAuth::AUTHORIZATION_RESULT_INVALID;
130 return HttpAuth::AUTHORIZATION_RESULT_REJECT;
131 return HttpAuth::AUTHORIZATION_RESULT_ACCEPT
    [all...]
http_auth_unittest.cc 31 HttpAuth::ChallengeTokenizer challenge(challenge_text.begin(),
35 HttpAuth::AUTH_SERVER,
46 HttpAuth::AuthorizationResult HandleChallengeResponse(
52 std::set<HttpAuth::Scheme> disabled_schemes;
55 return HttpAuth::HandleChallengeResponse(
58 HttpAuth::AUTH_SERVER,
68 HttpAuth::Scheme challenge_scheme;
76 HttpAuth::AUTH_SCHEME_BASIC,
84 HttpAuth::AUTH_SCHEME_MAX,
94 HttpAuth::AUTH_SCHEME_DIGEST
    [all...]
http_auth_sspi_win_unittest.cc 65 HttpAuth::ChallengeTokenizer challenge(challenge_text.begin(),
67 EXPECT_EQ(HttpAuth::AUTHORIZATION_RESULT_ACCEPT,
78 HttpAuth::ChallengeTokenizer first_challenge(first_challenge_text.begin(),
80 EXPECT_EQ(HttpAuth::AUTHORIZATION_RESULT_ACCEPT,
90 HttpAuth::ChallengeTokenizer second_challenge(second_challenge_text.begin(),
92 EXPECT_EQ(HttpAuth::AUTHORIZATION_RESULT_ACCEPT,
103 HttpAuth::ChallengeTokenizer challenge(challenge_text.begin(),
105 EXPECT_EQ(HttpAuth::AUTHORIZATION_RESULT_INVALID,
116 HttpAuth::ChallengeTokenizer first_challenge(first_challenge_text.begin(),
118 EXPECT_EQ(HttpAuth::AUTHORIZATION_RESULT_ACCEPT
    [all...]
http_auth_handler.cc 13 : auth_scheme_(HttpAuth::AUTH_SCHEME_MAX),
15 target_(HttpAuth::AUTH_NONE),
27 HttpAuth::ChallengeTokenizer* challenge,
28 HttpAuth::Target target,
44 DCHECK(!ok || auth_scheme_ != HttpAuth::AUTH_SCHEME_MAX);
51 NetLog::EventType EventTypeFromAuthTarget(HttpAuth::Target target) {
53 case HttpAuth::AUTH_PROXY:
55 case HttpAuth::AUTH_SERVER:
url_security_manager.cc 23 return whitelist_default_->IsValid(auth_origin, HttpAuth::AUTH_SERVER);
29 return whitelist_delegate_->IsValid(auth_origin, HttpAuth::AUTH_SERVER);
  /external/chromium_org/net/http/
http_auth_filter_unittest.cc 32 HttpAuth::Target target;
38 { GURL(std::string()), HttpAuth::AUTH_NONE, false, 0 },
39 { GURL("http://foo.cn"), HttpAuth::AUTH_PROXY, true, ALL_SERVERS_MATCH },
40 { GURL("http://foo.cn"), HttpAuth::AUTH_SERVER, false, 0 },
41 { GURL("http://slashdot.org"), HttpAuth::AUTH_NONE, false, 0 },
42 { GURL("http://www.google.com"), HttpAuth::AUTH_SERVER, true, 1 << 0 },
43 { GURL("http://www.google.com"), HttpAuth::AUTH_PROXY, true,
46 HttpAuth::AUTH_NONE, false, 0 },
47 { GURL("http://codereview.chromium.org/634002/show"), HttpAuth::AUTH_SERVER,
50 HttpAuth::AUTH_SERVER, true, 1 << 0 }
    [all...]
http_auth_filter.cc 29 HttpAuth::Target target) {
30 if ((target != HttpAuth::AUTH_SERVER) && (target != HttpAuth::AUTH_PROXY))
33 if (target == HttpAuth::AUTH_PROXY)
44 HttpAuth::Target target) const {
45 if ((target != HttpAuth::AUTH_SERVER) && (target != HttpAuth::AUTH_PROXY))
48 if (target == HttpAuth::AUTH_PROXY)
http_auth_handler_basic.h 25 HttpAuth::ChallengeTokenizer* challenge,
26 HttpAuth::Target target,
34 virtual HttpAuth::AuthorizationResult HandleAnotherChallenge(
35 HttpAuth::ChallengeTokenizer* challenge) OVERRIDE;
38 virtual bool Init(HttpAuth::ChallengeTokenizer* challenge) OVERRIDE;
48 bool ParseChallenge(HttpAuth::ChallengeTokenizer* challenge);
http_auth_handler.h 32 bool InitFromChallenge(HttpAuth::ChallengeTokenizer* challenge,
33 HttpAuth::Target target,
50 virtual HttpAuth::AuthorizationResult HandleAnotherChallenge(
51 HttpAuth::ChallengeTokenizer* challenge) = 0;
79 HttpAuth::Scheme auth_scheme() const {
94 // numbers are better. Used by HttpAuth::ChooseBestChallenge().
99 HttpAuth::Target target() const {
154 virtual bool Init(HttpAuth::ChallengeTokenizer* challenge) = 0;
165 HttpAuth::Scheme auth_scheme_;
182 HttpAuth::Target target_
    [all...]
http_auth_handler_basic.cc 36 bool ParseRealm(const HttpAuth::ChallengeTokenizer& tokenizer,
54 bool HttpAuthHandlerBasic::Init(HttpAuth::ChallengeTokenizer* challenge) {
55 auth_scheme_ = HttpAuth::AUTH_SCHEME_BASIC;
62 HttpAuth::ChallengeTokenizer* challenge) {
75 HttpAuth::AuthorizationResult HttpAuthHandlerBasic::HandleAnotherChallenge(
76 HttpAuth::ChallengeTokenizer* challenge) {
82 return HttpAuth::AUTHORIZATION_RESULT_INVALID;
84 HttpAuth::AUTHORIZATION_RESULT_DIFFERENT_REALM:
85 HttpAuth::AUTHORIZATION_RESULT_REJECT;
108 HttpAuth::ChallengeTokenizer* challenge
    [all...]
http_auth.cc 21 HttpAuth::Identity::Identity() : source(IDENT_SRC_NONE), invalid(true) {}
24 void HttpAuth::ChooseBestChallenge(
57 HttpAuth::AuthorizationResult HttpAuth::HandleChallengeResponse(
67 HttpAuth::Scheme current_scheme = handler->auth_scheme();
69 return HttpAuth::AUTHORIZATION_RESULT_REJECT;
74 HttpAuth::AuthorizationResult authorization_result =
75 HttpAuth::AUTHORIZATION_RESULT_INVALID;
77 HttpAuth::ChallengeTokenizer props(challenge.begin(), challenge.end());
81 if (authorization_result != HttpAuth::AUTHORIZATION_RESULT_INVALID)
    [all...]
http_auth_filter.h 27 virtual bool IsValid(const GURL& url, HttpAuth::Target target) const = 0;
41 bool AddFilter(const std::string& filter, HttpAuth::Target target);
49 virtual bool IsValid(const GURL& url, HttpAuth::Target target) const OVERRIDE;
http_auth_handler_ntlm.cc 18 HttpAuth::AuthorizationResult HttpAuthHandlerNTLM::HandleAnotherChallenge(
19 HttpAuth::ChallengeTokenizer* challenge) {
23 bool HttpAuthHandlerNTLM::Init(HttpAuth::ChallengeTokenizer* tok) {
24 auth_scheme_ = HttpAuth::AUTH_SCHEME_NTLM;
28 return ParseChallenge(tok, true) == HttpAuth::AUTHORIZATION_RESULT_ACCEPT;
102 HttpAuth::AuthorizationResult HttpAuthHandlerNTLM::ParseChallenge(
103 HttpAuth::ChallengeTokenizer* tok, bool initial_challenge) {
117 return HttpAuth::AUTHORIZATION_RESULT_INVALID;
122 return HttpAuth::AUTHORIZATION_RESULT_REJECT;
123 return HttpAuth::AUTHORIZATION_RESULT_ACCEPT
    [all...]
http_auth_unittest.cc 31 HttpAuth::ChallengeTokenizer challenge(challenge_text.begin(),
35 HttpAuth::AUTH_SERVER,
46 HttpAuth::AuthorizationResult HandleChallengeResponse(
52 std::set<HttpAuth::Scheme> disabled_schemes;
55 return HttpAuth::HandleChallengeResponse(
58 HttpAuth::AUTH_SERVER,
68 HttpAuth::Scheme challenge_scheme;
76 HttpAuth::AUTH_SCHEME_BASIC,
84 HttpAuth::AUTH_SCHEME_MAX,
94 HttpAuth::AUTH_SCHEME_DIGEST
    [all...]
http_auth_sspi_win_unittest.cc 65 HttpAuth::ChallengeTokenizer challenge(challenge_text.begin(),
67 EXPECT_EQ(HttpAuth::AUTHORIZATION_RESULT_ACCEPT,
78 HttpAuth::ChallengeTokenizer first_challenge(first_challenge_text.begin(),
80 EXPECT_EQ(HttpAuth::AUTHORIZATION_RESULT_ACCEPT,
89 HttpAuth::ChallengeTokenizer second_challenge(second_challenge_text.begin(),
91 EXPECT_EQ(HttpAuth::AUTHORIZATION_RESULT_ACCEPT,
102 HttpAuth::ChallengeTokenizer challenge(challenge_text.begin(),
104 EXPECT_EQ(HttpAuth::AUTHORIZATION_RESULT_INVALID,
115 HttpAuth::ChallengeTokenizer first_challenge(first_challenge_text.begin(),
117 EXPECT_EQ(HttpAuth::AUTHORIZATION_RESULT_ACCEPT
    [all...]
http_auth_handler.cc 15 : auth_scheme_(HttpAuth::AUTH_SCHEME_MAX),
17 target_(HttpAuth::AUTH_NONE),
25 HttpAuth::ChallengeTokenizer* challenge,
26 HttpAuth::Target target,
42 DCHECK(!ok || auth_scheme_ != HttpAuth::AUTH_SCHEME_MAX);
49 NetLog::EventType EventTypeFromAuthTarget(HttpAuth::Target target) {
51 case HttpAuth::AUTH_PROXY:
53 case HttpAuth::AUTH_SERVER:
url_security_manager.cc 23 return whitelist_default_->IsValid(auth_origin, HttpAuth::AUTH_SERVER);
29 return whitelist_delegate_->IsValid(auth_origin, HttpAuth::AUTH_SERVER);

Completed in 660 milliseconds

1 2 3 4 5