Home
last modified time | relevance | path

Searched refs:credential (Results 1 – 25 of 62) sorted by relevance

123

/external/chromium/third_party/libjingle/source/talk/xmpp/
Dsaslplainmechanism.h49 talk_base::FormatCryptString credential; in StartSaslAuth() local
50 credential.Append("\0", 1); in StartSaslAuth()
51 credential.Append(user_jid_.node()); in StartSaslAuth()
52 credential.Append("\0", 1); in StartSaslAuth()
53 credential.Append(&password_); in StartSaslAuth()
54 el->AddText(Base64EncodeFromArray(credential.GetData(), credential.GetLength())); in StartSaslAuth()
Dsaslcookiemechanism.h70 std::string credential; in StartSaslAuth() local
71 credential.append("\0", 1); in StartSaslAuth()
72 credential.append(username_); in StartSaslAuth()
73 credential.append("\0", 1); in StartSaslAuth()
74 credential.append(cookie_); in StartSaslAuth()
75 el->AddText(Base64Encode(credential)); in StartSaslAuth()
/external/webkit/Source/WebKit/win/
DWebURLAuthenticationChallengeSenderCFNet.cpp64 /* [in] */ IWebURLCredential* credential, in useCredential() argument
72 …if (!credential || FAILED(credential->QueryInterface(__uuidof(WebURLCredential), (void**)&webCrede… in useCredential()
75 …m_client->receivedCredential(webChallenge->authenticationChallenge(), webCredential->credential()); in useCredential()
DWebURLCredential.cpp37 WebURLCredential::WebURLCredential(const Credential& credential) in WebURLCredential() argument
39 , m_credential(credential) in WebURLCredential()
58 WebURLCredential* WebURLCredential::createInstance(const Credential& credential) in createInstance() argument
60 WebURLCredential* instance = new WebURLCredential(credential); in createInstance()
165 const WebCore::Credential& WebURLCredential::credential() const in credential() function in WebURLCredential
DWebDownloadCFNet.cpp332 /* [in] */ IWebURLCredential* credential, in useCredential() argument
339 COMPtr<WebURLCredential> webCredential(Query, credential); in useCredential()
343 RetainPtr<CFURLCredentialRef> cfCredential(AdoptCF, createCF(webCredential->credential())); in useCredential()
385 …Credential credential = CredentialStorage::get(core(CFURLAuthChallengeGetProtectionSpace(challenge… in didReceiveAuthenticationChallenge() local
386 if (!credential.isEmpty()) { in didReceiveAuthenticationChallenge()
387 RetainPtr<CFURLCredentialRef> cfCredential(AdoptCF, createCF(credential)); in didReceiveAuthenticationChallenge()
DWebURLAuthenticationChallengeSenderCurl.cpp57 /* [in] */ IWebURLCredential* credential, in useCredential() argument
/external/webkit/Source/WebKit2/UIProcess/Authentication/
DAuthenticationChallengeProxy.cpp59 void AuthenticationChallengeProxy::useCredential(WebCredential* credential) in useCredential() argument
64 if (!credential) in useCredential()
67 …(Messages::AuthenticationManager::UseCredentialForChallenge(m_challengeID, credential->core()), 0); in useCredential()
DWebCredential.cpp31 WebCredential::WebCredential(const WebCore::Credential& credential) in WebCredential() argument
32 : m_coreCredential(credential) in WebCredential()
DAuthenticationDecisionListener.cpp42 void AuthenticationDecisionListener::useCredential(WebCredential* credential) in useCredential() argument
45 m_challengeProxy->useCredential(credential); in useCredential()
DWebCredential.h42 static PassRefPtr<WebCredential> create(const WebCore::Credential& credential) in create() argument
44 return adoptRef(new WebCredential(credential)); in create()
/external/webkit/Source/WebCore/platform/network/
DCredentialStorage.cpp86 void CredentialStorage::set(const Credential& credential, const ProtectionSpace& protectionSpace, c… in set() argument
91 protectionSpaceToCredentialMap().set(protectionSpace, credential); in set()
142 bool CredentialStorage::set(const Credential& credential, const KURL& url) in set() argument
150 protectionSpaceToCredentialMap().set(iter->second, credential); in set()
/external/webkit/Source/WebCore/platform/network/cf/
DResourceHandleCFNet.cpp518 RetainPtr<CFURLCredentialRef> credential(AdoptCF, in didReceiveAuthenticationChallenge() local
524 CredentialStorage::set(core(credential.get()), challenge.protectionSpace(), urlToStore); in didReceiveAuthenticationChallenge()
526 …CFURLConnectionUseCredential(d->m_connection.get(), credential.get(), challenge.cfURLAuthChallenge… in didReceiveAuthenticationChallenge()
542 Credential credential = CredentialStorage::get(challenge.protectionSpace()); in didReceiveAuthenticationChallenge() local
543 if (!credential.isEmpty() && credential != d->m_initialCredential) { in didReceiveAuthenticationChallenge()
544 ASSERT(credential.persistence() == CredentialPersistenceNone); in didReceiveAuthenticationChallenge()
547 … CredentialStorage::set(credential, challenge.protectionSpace(), firstRequest().url()); in didReceiveAuthenticationChallenge()
549 RetainPtr<CFURLCredentialRef> cfCredential(AdoptCF, createCF(credential)); in didReceiveAuthenticationChallenge()
562 …eHandle::receivedCredential(const AuthenticationChallenge& challenge, const Credential& credential) in receivedCredential() argument
571 if (credential.isEmpty()) { in receivedCredential()
[all …]
DAuthenticationCF.cpp85 CFURLCredentialRef credential = createCF(coreChallenge.proposedCredential()); in createCF() local
87 CFURLAuthChallengeRef result = CFURLAuthChallengeCreate(0, protectionSpace, credential, in createCF()
92 CFRelease(credential); in createCF()
/external/webkit/Source/WebKit2/UIProcess/API/C/
DWKAuthenticationDecisionListener.cpp39 …eCredential(WKAuthenticationDecisionListenerRef authenticationListener, WKCredentialRef credential) in WKAuthenticationDecisionListenerUseCredential() argument
41 toImpl(authenticationListener)->useCredential(toImpl(credential)); in WKAuthenticationDecisionListenerUseCredential()
DWKCredential.cpp42 …RefPtr<WebCredential> credential = WebCredential::create(toImpl(username), toImpl(password), toCre… in WKCredentialCreate() local
43 return toAPI(credential.release().releaseRef()); in WKCredentialCreate()
DWKAuthenticationDecisionListener.h37 …Credential(WKAuthenticationDecisionListenerRef authenticationListener, WKCredentialRef credential);
/external/webkit/Source/WebKit2/WebProcess/Authentication/
DAuthenticationManager.cpp84 …uthenticationManager::useCredentialForChallenge(uint64_t challengeID, const Credential& credential) in useCredentialForChallenge() argument
91 Download::receivedCredential(challenge, credential); in useCredentialForChallenge()
96 coreClient->receivedCredential(challenge, credential); in useCredentialForChallenge()
/external/webkit/Source/WebCore/platform/network/mac/
DCredentialStorageMac.mm36 …NSURLCredential *credential = [[NSURLCredentialStorage sharedCredentialStorage] defaultCredentialF…
37 return credential ? core(credential) : Credential();
DResourceHandleMac.mm240 // try and reuse the credential preemptively, as allowed by RFC 2617.
286 … // Building on Tiger. Don't use WebCore credential storage, don't try to disable content sniffing.
611 NSURLCredential *credential = [[NSURLCredential alloc] initWithUser:d->m_user
616 receivedCredential(challenge, core(credential));
617 [credential release];
627 // The stored credential wasn't accepted, stop using it.
628 …// There is a race condition here, since a different credential might have already been stored by …
634 Credential credential = CredentialStorage::get(challenge.protectionSpace());
635 if (!credential.isEmpty() && credential != d->m_initialCredential) {
636 ASSERT(credential.persistence() == CredentialPersistenceNone);
[all …]
/external/ipsec-tools/src/racoon/doc/
DREADME.gssapi14 its credential, where fqdn is the hostname on the interface that
20 mechanism above. If a credential other than GSS_C_NO_CREDENTIAL
22 credential cache if it its principal matches the desired credential.
24 it in a memory-based credential cache, part of the gss credential
34 credential that racoon will try to acquire. The default value
/external/webkit/Source/WebKit/mac/Panels/
DWebAuthenticationPanel.m226 NSURLCredential *credential = nil;
229credential = [[NSURLCredential alloc] initWithUser:[username stringValue] password:[password strin…
232 [callback performSelector:selector withObject:chall withObject:credential];
233 [credential release];
251 NSURLCredential *credential = nil;
258credential = [[NSURLCredential alloc] initWithUser:[username stringValue] password:[password strin…
265 [callback performSelector:selector withObject:chall withObject:credential];
266 [credential release];
DWebPanelAuthenticationHandler.m145 …ionDoneWithChallenge:(NSURLAuthenticationChallenge *)challenge result:(NSURLCredential *)credential
154 if (credential == nil) {
157 [[challenge sender] useCredential:credential forAuthenticationChallenge:challenge];
/external/webkit/Tools/DumpRenderTree/win/
DResourceLoadDelegate.cpp307 COMPtr<IWebURLCredential> credential; in didReceiveAuthenticationChallenge() local
308 …AILED(WebKitCreateInstance(CLSID_WebURLCredential, 0, IID_IWebURLCredential, (void**)&credential))) in didReceiveAuthenticationChallenge()
310credential->initWithUser(_bstr_t(user), _bstr_t(password), WebURLCredentialPersistenceForSession); in didReceiveAuthenticationChallenge()
312 sender->useCredential(credential.get(), challenge); in didReceiveAuthenticationChallenge()
/external/webkit/Source/WebKit2/Shared/
DWebCoreArgumentCoders.h169 static void encode(ArgumentEncoder* encoder, const WebCore::Credential& credential)
171 …encoder->encode(CoreIPC::In(credential.user(), credential.password(), static_cast<uint32_t>(creden…
174 static bool decode(ArgumentDecoder* decoder, WebCore::Credential& credential)
182credential = WebCore::Credential(user, password, static_cast<WebCore::CredentialPersistence>(persi…
/external/webkit/LayoutTests/http/tests/appcache/
Dcredential-url-expected.txt1 Test that application cache doesn't block loading resources from the same origin with credential.

123