+2007-09-11 Ada Chan <adachan@apple.com>
+
+ <rdar://problem/5472130> Support NTLM authentication via CFNetwork.
+
+ Reviewed by Darin.
+
+ * platform/network/ProtectionSpace.h:
+ (WebCore::):
+ * platform/network/cf/AuthenticationCF.cpp:
+ (WebCore::createCF):
+ (WebCore::core):
+
2007-09-11 Darin Adler <darin@apple.com>
Rubber-stamped by Dave Harrison.
ProtectionSpaceAuthenticationSchemeHTTPBasic = 2,
ProtectionSpaceAuthenticationSchemeHTTPDigest = 3,
ProtectionSpaceAuthenticationSchemeHTMLForm = 4,
+ ProtectionSpaceAuthenticationSchemeNTLM = 5,
+ ProtectionSpaceAuthenticationSchemeNegotiate = 6,
};
class ProtectionSpace {
case ProtectionSpaceAuthenticationSchemeHTMLForm:
scheme = kCFURLProtectionSpaceAuthenticationSchemeHTMLForm;
break;
+ case ProtectionSpaceAuthenticationSchemeNTLM:
+ scheme = kCFURLProtectionSpaceAuthenticationSchemeNTLM;
+ break;
+ case ProtectionSpaceAuthenticationSchemeNegotiate:
+ scheme = kCFURLProtectionSpaceAuthenticationSchemeNegotiate;
+ break;
default:
ASSERT_NOT_REACHED();
}
case kCFURLProtectionSpaceAuthenticationSchemeHTMLForm:
scheme = ProtectionSpaceAuthenticationSchemeHTMLForm;
break;
+ case kCFURLProtectionSpaceAuthenticationSchemeNTLM:
+ scheme = ProtectionSpaceAuthenticationSchemeNTLM;
+ break;
+ case kCFURLProtectionSpaceAuthenticationSchemeNegotiate:
+ scheme = ProtectionSpaceAuthenticationSchemeNegotiate;
+ break;
default:
ASSERT_NOT_REACHED();
}