HomeSort by relevance Sort by last modified time
    Searched refs:credential (Results 1 - 22 of 22) sorted by null

  /external/webkit/WebCore/platform/network/mac/
CredentialStorageMac.mm 30 #include "Credential.h"
34 Credential CredentialStorage::getFromPersistentStorage(const ProtectionSpace& protectionSpace)
36 NSURLCredential *credential = [[NSURLCredentialStorage sharedCredentialStorage] defaultCredentialForProtectionSpace:mac(protectionSpace)];
37 return credential ? core(credential) : Credential();
ResourceHandleMac.mm 80 // Store the preemptively used initial credential so that if we get an authentication challenge, we won't use the same one again.
81 Credential m_initialCredential;
197 // try and reuse the credential preemptively, as allowed by RFC 2617.
203 CredentialStorage::set(Credential(d->m_user, d->m_pass, CredentialPersistenceNone), d->m_request.url());
490 NSURLCredential *credential = [[NSURLCredential alloc] initWithUser:d->m_user
495 receivedCredential(challenge, core(credential));
496 [credential release];
505 Credential credential = CredentialStorage::get(challenge.protectionSpace());
506 if (!credential.isEmpty() && credential != d->m_initialCredential)
    [all...]
AuthenticationMac.mm 30 #import "Credential.h"
63 - (void)useCredential:(NSURLCredential *)credential forAuthenticationChallenge:(NSURLAuthenticationChallenge *)challenge
66 m_client->receivedCredential(core(challenge), core(credential));
86 const Credential& proposedCredential,
213 NSURLCredential *mac(const Credential& coreCredential)
303 Credential core(NSURLCredential *macCredential)
322 return Credential(identity, (CFArrayRef)[macCredential certificates], persistence);
325 return Credential([macCredential user], [macCredential password], persistence);
  /external/webkit/WebKit/win/
WebURLAuthenticationChallengeSenderCFNet.cpp 67 /* [in] */ IWebURLCredential* credential,
75 if (!credential || FAILED(credential->QueryInterface(__uuidof(WebURLCredential), (void**)&webCredential)))
78 m_client->receivedCredential(webChallenge->authenticationChallenge(), webCredential->credential());
WebURLAuthenticationChallengeSenderCurl.cpp 60 /* [in] */ IWebURLCredential* credential,
WebURLCredential.cpp 39 WebURLCredential::WebURLCredential(const Credential& credential)
41 , m_credential(credential)
55 WebURLCredential* instance = new WebURLCredential(Credential());
60 WebURLCredential* WebURLCredential::createInstance(const Credential& credential)
62 WebURLCredential* instance = new WebURLCredential(credential);
127 m_credential = Credential(String(user, SysStringLen(user)), String(password, SysStringLen(password)), corePersistence);
167 const WebCore::Credential& WebURLCredential::credential() cons function in class:WebURLCredential
    [all...]
WebURLAuthenticationChallengeSender.h 60 /* [in] */ IWebURLCredential* credential,
WebURLCredential.h 32 #include <WebCore/Credential.h>
39 static WebURLCredential* createInstance(const WebCore::Credential&);
41 WebURLCredential(const WebCore::Credential&);
68 const WebCore::Credential& credential() const;
73 WebCore::Credential m_credential;
WebDownloadCurl.cpp 146 /* [in] */ IWebURLCredential* credential,
WebDownloadCFNet.cpp 333 /* [in] */ IWebURLCredential* credential,
340 COMPtr<WebURLCredential> webCredential(Query, credential);
344 RetainPtr<CFURLCredentialRef> cfCredential(AdoptCF, createCF(webCredential->credential()));
384 // Try previously stored credential first.
386 Credential credential = CredentialStorage::get(core(CFURLAuthChallengeGetProtectionSpace(challenge))); local
387 if (!credential.isEmpty()) {
388 RetainPtr<CFURLCredentialRef> cfCredential(AdoptCF, createCF(credential));
WebDownload.h 106 /* [in] */ IWebURLCredential* credential,
WebURLAuthenticationChallenge.cpp 153 m_authenticationChallenge = AuthenticationChallenge(webSpace->protectionSpace(), webCredential->credential(),
  /external/webkit/WebKit/mac/Panels/
WebAuthenticationPanel.m 222 NSURLCredential *credential = nil;
225 credential = [[NSURLCredential alloc] initWithUser:[username stringValue] password:[password stringValue] persistence:([remember state] == NSOnState) ? NSURLCredentialPersistencePermanent : NSURLCredentialPersistenceForSession];
228 [callback performSelector:selector withObject:chall withObject:credential];
229 [credential release];
246 NSURLCredential *credential = nil;
253 credential = [[NSURLCredential alloc] initWithUser:[username stringValue] password:[password stringValue] persistence:([remember state] == NSOnState) ? NSURLCredentialPersistencePermanent : NSURLCredentialPersistenceForSession];
260 [callback performSelector:selector withObject:chall withObject:credential];
261 [credential release];
WebPanelAuthenticationHandler.m 145 -(void)_authenticationDoneWithChallenge:(NSURLAuthenticationChallenge *)challenge result:(NSURLCredential *)credential
154 if (credential == nil) {
157 [[challenge sender] useCredential:credential forAuthenticationChallenge:challenge];
  /external/webkit/WebCore/platform/network/
CredentialStorage.cpp 30 #include "Credential.h"
40 typedef HashMap<ProtectionSpace, Credential> ProtectionSpaceToCredentialMap;
87 void CredentialStorage::set(const Credential& credential, const ProtectionSpace& protectionSpace, const KURL& url)
92 protectionSpaceToCredentialMap().set(protectionSpace, credential);
104 Credential CredentialStorage::get(const ProtectionSpace& protectionSpace)
138 bool CredentialStorage::set(const Credential& credential, const KURL& url)
146 protectionSpaceToCredentialMap().set(iter->second, credential);
150 Credential CredentialStorage::get(const KURL& url
    [all...]
  /external/webkit/WebCore/platform/network/cf/
ResourceHandleCFNet.cpp 86 // Store the preemptively used initial credential so that if we get an authentication challenge, we won't use the same one again.
87 Credential m_initialCredential;
377 // try and reuse the credential preemptively, as allowed by RFC 2617.
381 // try and reuse the credential preemptively, as allowed by RFC 2617.
387 CredentialStorage::set(Credential(d->m_user, d->m_pass, CredentialPersistenceNone), d->m_request.url());
461 RetainPtr<CFURLCredentialRef> credential(AdoptCF,
467 CredentialStorage::set(core(credential.get()), challenge.protectionSpace(), urlToStore);
469 CFURLConnectionUseCredential(d->m_connection.get(), credential.get(), challenge.cfURLAuthChallengeRef());
477 Credential credential = CredentialStorage::get(challenge.protectionSpace()) local
708 Credential credential = CredentialStorage::get(core(CFURLAuthChallengeGetProtectionSpace(challenge))); local
    [all...]
AuthenticationCF.cpp 31 #include "Credential.h"
41 const Credential& proposedCredential,
79 CFURLCredentialRef credential = createCF(coreChallenge.proposedCredential()); local
81 CFURLAuthChallengeRef result = CFURLAuthChallengeCreate(0, protectionSpace, credential,
86 CFRelease(credential);
90 CFURLCredentialRef createCF(const Credential& coreCredential)
180 Credential core(CFURLCredentialRef cfCredential)
183 return Credential();
199 return Credential(CFURLCredentialGetUsername(cfCredential), CFURLCredentialCopyPassword(cfCredential), persistence);
  /external/webkit/WebKitTools/DumpRenderTree/win/
ResourceLoadDelegate.cpp 280 COMPtr<IWebURLCredential> credential;
281 if (FAILED(WebKitCreateInstance(CLSID_WebURLCredential, 0, IID_IWebURLCredential, (void**)&credential)))
283 credential->initWithUser(_bstr_t(user), _bstr_t(password), WebURLCredentialPersistenceForSession);
285 sender->useCredential(credential.get(), challenge);
  /external/webkit/WebKit/mac/Misc/
WebDownload.mm 34 #import <WebCore/Credential.h>
115 // Try previously stored credential first.
117 NSURLCredential *credential = mac(CredentialStorage::get(core([challenge protectionSpace])));
118 if (credential) {
119 [[challenge sender] useCredential:credential forAuthenticationChallenge:challenge];
  /external/webkit/WebKit/mac/Plugins/
WebBaseNetscapePluginView.mm 47 #import <WebCore/Credential.h>
1024 NSURLCredential *credential = mac(CredentialStorage::get(core(protectionSpace.get())));
1025 if (!credential)
1026 credential = [[NSURLCredentialStorage sharedCredentialStorage] defaultCredentialForProtectionSpace:protectionSpace.get()];
1027 if (!credential)
1030 if (![credential hasPassword])
1033 username = [[credential user] UTF8String];
1034 password = [[credential password] UTF8String];
  /external/webkit/WebKit/chromium/src/
SocketStreamHandle.cpp 224 void SocketStreamHandle::receivedCredential(const AuthenticationChallenge& challenge, const Credential& credential)
  /external/webkit/WebKit/win/Interfaces/
IWebURLAuthenticationChallenge.idl 69 - (id)initWithProtectionSpace:(NSURLProtectionSpace *)space proposedCredential:(NSURLCredential *)credential previousFailureCount:(int)count failureResponse:(NSURLResponse *)response error:(NSError *)error sender:(id <NSURLAuthenticationChallengeSender>)sender
113 - (void)useCredential:(NSURLCredential *)credential forAuthenticationChallenge:(NSURLAuthenticationChallenge *)challenge
115 HRESULT useCredential([in] IWebURLCredential* credential, [in] IWebURLAuthenticationChallenge* challenge);

Completed in 128 milliseconds