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

1 2

  /external/chromium/third_party/libjingle/source/talk/xmpp/
saslplainmechanism.h 49 talk_base::FormatCryptString credential; local
50 credential.Append("\0", 1);
51 credential.Append(user_jid_.node());
52 credential.Append("\0", 1);
53 credential.Append(&password_);
54 el->AddText(Base64EncodeFromArray(credential.GetData(), credential.GetLength()));
saslcookiemechanism.h 70 std::string credential; local
71 credential.append("\0", 1);
72 credential.append(username_);
73 credential.append("\0", 1);
74 credential.append(cookie_);
75 el->AddText(Base64Encode(credential));
  /external/webkit/Source/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();
  /external/webkit/Source/WebKit2/UIProcess/Authentication/
WebCredential.cpp 31 WebCredential::WebCredential(const WebCore::Credential& credential)
32 : m_coreCredential(credential)
36 const WebCore::Credential& WebCredential::core()
AuthenticationDecisionListener.cpp 42 void AuthenticationDecisionListener::useCredential(WebCredential* credential)
45 m_challengeProxy->useCredential(credential);
WebCredential.h 32 #include <WebCore/Credential.h>
42 static PassRefPtr<WebCredential> create(const WebCore::Credential& credential)
44 return adoptRef(new WebCredential(credential));
49 return adoptRef(new WebCredential(WebCore::Credential(username->string(), password->string(), persistence)));
52 const WebCore::Credential& core();
57 WebCredential(const WebCore::Credential&);
61 WebCore::Credential m_coreCredential;
AuthenticationChallengeProxy.cpp 59 void AuthenticationChallengeProxy::useCredential(WebCredential* credential)
64 if (!credential)
67 m_process->send(Messages::AuthenticationManager::UseCredentialForChallenge(m_challengeID, credential->core()), 0);
  /external/webkit/Source/WebKit2/UIProcess/API/C/
WKAuthenticationDecisionListener.cpp 39 void WKAuthenticationDecisionListenerUseCredential(WKAuthenticationDecisionListenerRef authenticationListener, WKCredentialRef credential)
41 toImpl(authenticationListener)->useCredential(toImpl(credential));
WKAuthenticationDecisionListener.h 37 WK_EXPORT void WKAuthenticationDecisionListenerUseCredential(WKAuthenticationDecisionListenerRef authenticationListener, WKCredentialRef credential);
WKCredential.cpp 42 RefPtr<WebCredential> credential = WebCredential::create(toImpl(username), toImpl(password), toCredentialPersistence(persistence)); local
43 return toAPI(credential.release().releaseRef());
  /external/webkit/Source/WebKit/win/
WebURLAuthenticationChallengeSenderCFNet.cpp 64 /* [in] */ IWebURLCredential* credential,
72 if (!credential || FAILED(credential->QueryInterface(__uuidof(WebURLCredential), (void**)&webCredential)))
75 m_client->receivedCredential(webChallenge->authenticationChallenge(), webCredential->credential());
WebURLAuthenticationChallengeSenderCurl.cpp 57 /* [in] */ IWebURLCredential* credential,
WebURLCredential.cpp 37 WebURLCredential::WebURLCredential(const Credential& credential)
39 , m_credential(credential)
53 WebURLCredential* instance = new WebURLCredential(Credential());
58 WebURLCredential* WebURLCredential::createInstance(const Credential& credential)
60 WebURLCredential* instance = new WebURLCredential(credential);
125 m_credential = Credential(String(user, SysStringLen(user)), String(password, SysStringLen(password)), corePersistence);
165 const WebCore::Credential& WebURLCredential::credential() cons function in class:WebURLCredential
    [all...]
WebURLAuthenticationChallengeSender.h 60 /* [in] */ IWebURLCredential* credential,
WebURLCredential.h 30 #include <WebCore/Credential.h>
36 static WebURLCredential* createInstance(const WebCore::Credential&);
38 WebURLCredential(const WebCore::Credential&);
65 const WebCore::Credential& credential() const;
70 WebCore::Credential m_credential;
  /external/webkit/Source/WebKit2/WebProcess/Authentication/
AuthenticationManager.cpp 84 void AuthenticationManager::useCredentialForChallenge(uint64_t challengeID, const Credential& credential)
91 Download::receivedCredential(challenge, credential);
96 coreClient->receivedCredential(challenge, credential);
  /external/webkit/Source/WebKit/mac/Panels/
WebAuthenticationPanel.m 226 NSURLCredential *credential = nil;
229 credential = [[NSURLCredential alloc] initWithUser:[username stringValue] password:[password stringValue] persistence:([remember state] == NSOnState) ? NSURLCredentialPersistencePermanent : NSURLCredentialPersistenceForSession];
232 [callback performSelector:selector withObject:chall withObject:credential];
233 [credential release];
251 NSURLCredential *credential = nil;
258 credential = [[NSURLCredential alloc] initWithUser:[username stringValue] password:[password stringValue] persistence:([remember state] == NSOnState) ? NSURLCredentialPersistencePermanent : NSURLCredentialPersistenceForSession];
265 [callback performSelector:selector withObject:chall withObject:credential];
266 [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/Source/WebKit2/WebProcess/Downloads/curl/
DownloadCurl.cpp 61 void Download::receivedCredential(const AuthenticationChallenge& authenticationChallenge, const Credential& credential)
  /external/webkit/Source/WebKit2/WebProcess/Downloads/qt/
DownloadQt.cpp 65 void Download::receivedCredential(const AuthenticationChallenge& authenticationChallenge, const Credential& credential)
  /external/webkit/Source/WebKit2/WebProcess/Downloads/soup/
DownloadSoup.cpp 66 void Download::receivedCredential(const AuthenticationChallenge& authenticationChallenge, const Credential& credential)
  /external/webkit/Source/WebCore/platform/network/
CredentialStorage.cpp 29 #include "Credential.h"
40 typedef HashMap<ProtectionSpace, Credential> ProtectionSpaceToCredentialMap;
86 void CredentialStorage::set(const Credential& credential, const ProtectionSpace& protectionSpace, const KURL& url)
91 protectionSpaceToCredentialMap().set(protectionSpace, credential);
103 Credential CredentialStorage::get(const ProtectionSpace& protectionSpace)
142 bool CredentialStorage::set(const Credential& credential, const KURL& url)
150 protectionSpaceToCredentialMap().set(iter->second, credential);
154 Credential CredentialStorage::get(const KURL& url
    [all...]
  /external/webkit/Source/WebCore/platform/network/cf/
AuthenticationCF.cpp 33 #include "Credential.h"
47 const Credential& proposedCredential,
85 CFURLCredentialRef credential = createCF(coreChallenge.proposedCredential()); local
87 CFURLAuthChallengeRef result = CFURLAuthChallengeCreate(0, protectionSpace, credential,
92 CFRelease(credential);
96 CFURLCredentialRef createCF(const Credential& coreCredential)
186 Credential core(CFURLCredentialRef cfCredential)
189 return Credential();
205 return Credential(CFURLCredentialGetUsername(cfCredential), CFURLCredentialCopyPassword(cfCredential), persistence);
ResourceHandleCFNet.cpp 410 // try and reuse the credential preemptively, as allowed by RFC 2617.
414 // try and reuse the credential preemptively, as allowed by RFC 2617.
420 CredentialStorage::set(Credential(d->m_user, d->m_pass, CredentialPersistenceNone), firstRequest().url());
518 RetainPtr<CFURLCredentialRef> credential(AdoptCF,
524 CredentialStorage::set(core(credential.get()), challenge.protectionSpace(), urlToStore);
526 CFURLConnectionUseCredential(d->m_connection.get(), credential.get(), challenge.cfURLAuthChallengeRef());
535 // The stored credential wasn't accepted, stop using it.
536 // There is a race condition here, since a different credential might have already been stored by another ResourceHandle,
542 Credential credential = CredentialStorage::get(challenge.protectionSpace()) local
    [all...]
  /external/webkit/Source/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];

Completed in 646 milliseconds

1 2