Searched refs:protectionSpace (Results 1 - 25 of 66) sorted by relevance

123

/macosx-10.9.5/WebCore-7537.78.1/platform/network/blackberry/
H A DCredentialStorageBlackBerry.cpp29 Credential CredentialStorage::getFromPersistentStorage(const ProtectionSpace& protectionSpace) argument
32 return credentialBackingStore().getLogin(protectionSpace);
34 UNUSED_PARAM(protectionSpace);
H A DCredentialBackingStore.cpp130 bool CredentialBackingStore::addLogin(const ProtectionSpace& protectionSpace, const Credential& credential) argument
138 m_addLoginStatement->bindText(1, protectionSpace.host());
139 m_addLoginStatement->bindInt(2, protectionSpace.port());
140 m_addLoginStatement->bindInt(3, static_cast<int>(protectionSpace.serverType()));
141 m_addLoginStatement->bindText(4, protectionSpace.realm());
142 m_addLoginStatement->bindInt(5, static_cast<int>(protectionSpace.authenticationScheme()));
162 unsigned hash = hashCredentialInfo(protectionSpace, credential.user());
166 bool CredentialBackingStore::updateLogin(const ProtectionSpace& protectionSpace, const Credential& credential) argument
182 m_updateLoginStatement->bindText(3, protectionSpace.host());
183 m_updateLoginStatement->bindInt(4, protectionSpace
202 hasLogin(const ProtectionSpace& protectionSpace) argument
227 getLogin(const ProtectionSpace& protectionSpace) argument
260 removeLogin(const ProtectionSpace& protectionSpace, const String& username) argument
289 addNeverRemember(const ProtectionSpace& protectionSpace) argument
311 hasNeverRemember(const ProtectionSpace& protectionSpace) argument
336 removeNeverRemember(const ProtectionSpace& protectionSpace) argument
[all...]
H A DAuthenticationChallenge.h33 AuthenticationChallenge(const ProtectionSpace& protectionSpace, const Credential& proposedCredential, unsigned previousFailureCount, const ResourceResponse& response, const ResourceError& error) argument
34 : AuthenticationChallengeBase(protectionSpace, proposedCredential, previousFailureCount, response, error)
H A DNetworkJob.cpp361 const ProtectionSpace& oldSpace = challenge.protectionSpace();
855 ProtectionSpace protectionSpace(host, port, type, realm, scheme);
862 updateCurrentWebChallenge(AuthenticationChallenge(protectionSpace, credential, 0, m_response, ResourceError()), /* allowOverwrite */ false);
863 } else if (!(credential = CredentialStorage::get(protectionSpace)).isEmpty()
865 || !(credential = CredentialStorage::getFromPersistentStorage(protectionSpace)).isEmpty()
869 AuthenticationChallenge challenge(protectionSpace, credential, 0, m_response, ResourceError());
903 updateCurrentWebChallenge(AuthenticationChallenge(protectionSpace, credential, 0, m_response, ResourceError()));
908 AuthenticationChallengeManager::instance()->authenticationChallenge(newURL, protectionSpace,
915 updateCurrentWebChallenge(AuthenticationChallenge(protectionSpace, credential, 0, m_response, ResourceError()));
918 notifyChallengeResult(newURL, protectionSpace, AuthenticationChallengeSucces
1031 notifyChallengeResult(const KURL& url, const ProtectionSpace& protectionSpace, AuthenticationChallengeResult result, const Credential& credential) argument
[all...]
/macosx-10.9.5/WebCore-7537.78.1/platform/network/curl/
H A DCredentialStorageCurl.cpp34 Credential CredentialStorage::getFromPersistentStorage(const ProtectionSpace& protectionSpace) argument
H A DAuthenticationChallenge.h40 AuthenticationChallenge(const ProtectionSpace& protectionSpace, const Credential& proposedCredential, unsigned previousFailureCount, const ResourceResponse& response, const ResourceError& error) argument
41 : AuthenticationChallengeBase(protectionSpace, proposedCredential, previousFailureCount, response, error)
/macosx-10.9.5/WebCore-7537.78.1/platform/network/
H A DProtectionSpaceHash.h35 static unsigned hash(const ProtectionSpace& protectionSpace) argument
38 protectionSpace.host().impl() ? protectionSpace.host().impl()->hash() : 0,
39 static_cast<unsigned>(protectionSpace.port()),
40 protectionSpace.serverType(),
41 protectionSpace.authenticationScheme(),
42 protectionSpace.realm().impl() ? protectionSpace.realm().impl()->hash() : 0
47 if (protectionSpace.isProxy())
H A DAuthenticationChallengeBase.cpp36 AuthenticationChallengeBase::AuthenticationChallengeBase(const ProtectionSpace& protectionSpace, argument
42 , m_protectionSpace(protectionSpace)
60 const ProtectionSpace& AuthenticationChallengeBase::protectionSpace() const function in class:WebCore::AuthenticationChallengeBase
93 if (a.protectionSpace() != b.protectionSpace())
H A DCredentialStorage.cpp90 void CredentialStorage::set(const Credential& credential, const ProtectionSpace& protectionSpace, const KURL& url) argument
92 ASSERT(protectionSpace.isProxy() || url.protocolIsInHTTPFamily());
93 ASSERT(protectionSpace.isProxy() || url.isValid());
95 protectionSpaceToCredentialMap().set(protectionSpace, credential);
96 if (!protectionSpace.isProxy()) {
99 ProtectionSpaceAuthenticationScheme scheme = protectionSpace.authenticationScheme();
102 pathToDefaultProtectionSpaceMap().set(protectionSpaceMapKeyFromURL(url), protectionSpace); local
107 Credential CredentialStorage::get(const ProtectionSpace& protectionSpace) argument
109 return protectionSpaceToCredentialMap().get(protectionSpace);
112 void CredentialStorage::remove(const ProtectionSpace& protectionSpace) argument
[all...]
H A DAuthenticationChallengeBase.h40 AuthenticationChallengeBase(const ProtectionSpace& protectionSpace, const Credential& proposedCredential, unsigned previousFailureCount, const ResourceResponse& response, const ResourceError& error);
44 const ProtectionSpace& protectionSpace() const;
/macosx-10.9.5/WebCore-7537.78.1/platform/network/mac/
H A DCredentialStorageMac.mm36 Credential CredentialStorage::getFromPersistentStorage(const ProtectionSpace& protectionSpace)
38 NSURLCredential *credential = [[NSURLCredentialStorage sharedCredentialStorage] defaultCredentialForProtectionSpace:mac(protectionSpace)];
H A DWebCoreResourceHandleAsDelegate.mm129 - (BOOL)connection:(NSURLConnection *)connection canAuthenticateAgainstProtectionSpace:(NSURLProtectionSpace *)protectionSpace
133 LOG(Network, "Handle %p delegate connection:%p canAuthenticateAgainstProtectionSpace:%@://%@:%u realm:%@ method:%@ %@%@", m_handle, connection, [protectionSpace protocol], [protectionSpace host], [protectionSpace port], [protectionSpace realm], [protectionSpace authenticationMethod], [protectionSpace isProxy] ? @"proxy:" : @"", [protectionSpace isProxy] ? [protectionSpace proxyType] : @"");
138 return m_handle->canAuthenticateAgainstProtectionSpace(core(protectionSpace));
[all...]
H A DWebCoreResourceHandleAsOperationQueueDelegate.mm198 - (BOOL)connection:(NSURLConnection *)connection canAuthenticateAgainstProtectionSpace:(NSURLProtectionSpace *)protectionSpace
203 LOG(Network, "Handle %p delegate connection:%p canAuthenticateAgainstProtectionSpace:%@://%@:%u realm:%@ method:%@ %@%@", m_handle, connection, [protectionSpace protocol], [protectionSpace host], [protectionSpace port], [protectionSpace realm], [protectionSpace authenticationMethod], [protectionSpace isProxy] ? @"proxy:" : @"", [protectionSpace isProxy] ? [protectionSpace proxyType] : @"");
213 m_handle->canAuthenticateAgainstProtectionSpace(core(protectionSpace));
[all...]
/macosx-10.9.5/WebKit-7537.78.2/blackberry/WebCoreSupport/
H A DCredentialManager.cpp43 void CredentialManager::autofillAuthenticationChallenge(const ProtectionSpace& protectionSpace, BlackBerry::Platform::String& username, BlackBerry::Platform::String& password) argument
45 if (credentialBackingStore().hasNeverRemember(protectionSpace))
48 Credential savedCredential = credentialBackingStore().getLogin(protectionSpace);
63 if (!data.isValid() || !credentialBackingStore().hasLogin(data.protectionSpace()))
65 Credential savedCredential = credentialBackingStore().getLogin(data.protectionSpace());
75 if (!data.isValid() || data.credential().isEmpty() || credentialBackingStore().hasNeverRemember(data.protectionSpace()))
78 Credential savedCredential = credentialBackingStore().getLogin(data.protectionSpace());
85 credentialBackingStore().addLogin(data.protectionSpace(), data.credential());
87 credentialBackingStore().updateLogin(data.protectionSpace(), data.credential());
89 credentialBackingStore().addNeverRemember(data.protectionSpace());
[all...]
H A DCredentialTransformData.h42 ProtectionSpace protectionSpace() const { return m_protectionSpace; } function in struct:WebCore::CredentialTransformData
/macosx-10.9.5/WebCore-7537.78.1/platform/network/qt/
H A DAuthenticationChallenge.h40 AuthenticationChallenge(const ProtectionSpace& protectionSpace, const Credential& proposedCredential, unsigned previousFailureCount, const ResourceResponse& response, const ResourceError& error) argument
41 : AuthenticationChallengeBase(protectionSpace, proposedCredential, previousFailureCount, response, error)
/macosx-10.9.5/WebCore-7537.78.1/platform/network/win/
H A DAuthenticationChallenge.h38 AuthenticationChallenge(const ProtectionSpace& protectionSpace, const Credential& proposedCredential, unsigned previousFailureCount, const ResourceResponse& response, const ResourceError& error) argument
39 : AuthenticationChallengeBase(protectionSpace, proposedCredential, previousFailureCount, response, error)
/macosx-10.9.5/WebCore-7537.78.1/platform/network/cf/
H A DCredentialStorageCFNet.cpp44 Credential CredentialStorage::getFromPersistentStorage(const ProtectionSpace& protectionSpace) argument
46 RetainPtr<CFURLProtectionSpaceRef> protectionSpaceCF = adoptCF(createCF(protectionSpace));
/macosx-10.9.5/WebKit2-7537.78.2/UIProcess/Authentication/
H A DWebProtectionSpace.h37 static PassRefPtr<WebProtectionSpace> create(const WebCore::ProtectionSpace& protectionSpace) argument
39 return adoptRef(new WebProtectionSpace(protectionSpace));
H A DAuthenticationChallengeProxy.cpp94 WebProtectionSpace* AuthenticationChallengeProxy::protectionSpace() const function in class:WebKit::AuthenticationChallengeProxy
97 m_webProtectionSpace = WebProtectionSpace::create(m_coreAuthenticationChallenge.protectionSpace());
/macosx-10.9.5/WebKit2-7537.78.2/UIProcess/API/efl/
H A Dewk_auth_request.cpp71 WKRetainPtr<WKProtectionSpaceRef> protectionSpace = WKAuthenticationChallengeGetProtectionSpace(m_authenticationChallenge.get()); local
72 ASSERT(protectionSpace);
74 WKRetainPtr<WKStringRef> realm(AdoptWK, WKProtectionSpaceCopyRealm(protectionSpace.get()));
87 WKRetainPtr<WKProtectionSpaceRef> protectionSpace = WKAuthenticationChallengeGetProtectionSpace(m_authenticationChallenge.get()); local
88 ASSERT(protectionSpace);
90 WKRetainPtr<WKStringRef> host(AdoptWK, WKProtectionSpaceCopyHost(protectionSpace.get()));
/macosx-10.9.5/WebCore-7537.78.1/platform/network/soup/
H A DAuthenticationChallenge.h42 AuthenticationChallenge(const ProtectionSpace& protectionSpace, const Credential& proposedCredential, unsigned previousFailureCount, const ResourceResponse& response, const ResourceError& error) argument
43 : AuthenticationChallengeBase(protectionSpace, proposedCredential, previousFailureCount, response, error)
/macosx-10.9.5/WebKit2-7537.78.2/UIProcess/API/C/
H A DWKAuthenticationChallenge.cpp49 return toAPI(toImpl(challenge)->protectionSpace());
/macosx-10.9.5/KerberosHelper-148/CFNetwork/
H A DNSURLConnection.m50 - (BOOL)connection:(NSURLConnection *)connection canAuthenticateAgainstProtectionSpace:(NSURLProtectionSpace *)protectionSpace;
89 - (BOOL)connection:(NSURLConnection *)connection canAuthenticateAgainstProtectionSpace:(NSURLProtectionSpace *)protectionSpace
91 NSLog(@"canAuthenticateAgainstProtectionSpace: %@", [protectionSpace authenticationMethod]);
92 if ([[protectionSpace authenticationMethod] isEqualToString:NSURLAuthenticationMethodNegotiate])
126 NSURLProtectionSpace *protectionSpace = [challenge protectionSpace];
128 NSLog(@"didReceiveAuthenticationChallenge: %@ %@", [protectionSpace authenticationMethod], [protectionSpace host]);
149 _nah = NAHCreate(NULL, (CFStringRef)[protectionSpace host], CFSTR("HTTP"), info);
/macosx-10.9.5/WebKit-7537.78.2/mac/WebView/
H A DWebResourceLoadDelegatePrivate.h44 @param protectionSpace an NSURLProtectionSpace that will be used to generate an authentication challenge
45 @result Return YES if the resource load delegate is prepared to respond to an authentication challenge generated with protectionSpace, NO otherwise
47 - (BOOL)webView:(WebView *)sender resource:(id)identifier canAuthenticateAgainstProtectionSpace:(NSURLProtectionSpace *)protectionSpace forDataSource:(WebDataSource *)dataSource;

Completed in 146 milliseconds

123