[SCM] WebKit Debian packaging branch, debian/unstable, updated. debian/1.1.15-1-40151-g37bb677
mjs
mjs at 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Sat Sep 26 05:53:12 UTC 2009
The following commit has been merged in the debian/unstable branch:
commit b02acfb2e40bc87991f225116feca2ee9aa683eb
Author: mjs <mjs at 268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Date: Fri Dec 14 02:34:05 2001 +0000
* WebView.subproj/WKWebController.h: Defined initial version of
WKAuthenticationHandler interface, and associated
WKSimpleAuthenticationRequest and WKSimpleAuthenticationResult
structs.
git-svn-id: http://svn.webkit.org/repository/webkit/trunk@499 268f45cc-cd09-0410-ab3c-d52691b4dbfc
diff --git a/WebKit/ChangeLog b/WebKit/ChangeLog
index 9a81eb4..9f2c0ce 100644
--- a/WebKit/ChangeLog
+++ b/WebKit/ChangeLog
@@ -1,9 +1,16 @@
+2001-12-13 Maciej Stachowiak <mjs at apple.com
+
+ * WebView.subproj/WKWebController.h: Defined initial version of
+ WKAuthenticationHandler interface, and associated
+ WKSimpleAuthenticationRequest and WKSimpleAuthenticationResult
+ structs.
+
2001-12-11 Chris Blumenberg <cblu at apple.com>
* ChangeLog:
* WebView.subproj/NSWebPageDataSource.mm: (+[NSWebPageDataSource initialize]):
-2001-12-11 Chris Blumenberg <set EMAIL_ADDRESS environment variable>
+2001-12-11 Chris Blumenberg <cblu at apple.com>
* WebView.subproj/NSWebPageDataSource.mm: (+[NSWebPageDataSource initialize]):
diff --git a/WebKit/ChangeLog-2002-12-03 b/WebKit/ChangeLog-2002-12-03
index 9a81eb4..9f2c0ce 100644
--- a/WebKit/ChangeLog-2002-12-03
+++ b/WebKit/ChangeLog-2002-12-03
@@ -1,9 +1,16 @@
+2001-12-13 Maciej Stachowiak <mjs at apple.com
+
+ * WebView.subproj/WKWebController.h: Defined initial version of
+ WKAuthenticationHandler interface, and associated
+ WKSimpleAuthenticationRequest and WKSimpleAuthenticationResult
+ structs.
+
2001-12-11 Chris Blumenberg <cblu at apple.com>
* ChangeLog:
* WebView.subproj/NSWebPageDataSource.mm: (+[NSWebPageDataSource initialize]):
-2001-12-11 Chris Blumenberg <set EMAIL_ADDRESS environment variable>
+2001-12-11 Chris Blumenberg <cblu at apple.com>
* WebView.subproj/NSWebPageDataSource.mm: (+[NSWebPageDataSource initialize]):
diff --git a/WebKit/WebView.subproj/IFWebController.h b/WebKit/WebView.subproj/IFWebController.h
index 0f15045..c96355b 100644
--- a/WebKit/WebView.subproj/IFWebController.h
+++ b/WebKit/WebView.subproj/IFWebController.h
@@ -257,12 +257,37 @@
=============================================================================
*/
- at protocol WKCredentialsHandler
-// Ken will come up with a proposal for this. We decided not to have a generic API,
-// rather we'll have an API that explicitly knows about the authentication
-// attributes needed.
-// Client should use this API to collect information necessary to authenticate,
-// usually by putting up a dialog.
+
+/* should this be an interface instead? */
+struct WKSimpleAuthenticationResult {
+ NSString *username;
+ NSString *password;
+ // May need an extra rememberThisPassword flag if the loader mechanism is
+ // going to provide a persistent credentials cache (for starters we can have
+ // just a session cache)
+}
+
+/* should this be an interface instead? */
+struct WKSimpleAuthenticationRequest {
+ NSURL *uri; // nil if for something non-URI based
+ NSString *domain; // http authentication domain or some representation of
+ // auth domain for non-URI-based locations; otherwise nil.
+ NSString *username; // username, if already provided, otherwise nil
+ BOOL plaintextPassword; // password will be sent in the clear
+ // TRUE for http basic auth or ftp
+ // FALSE for http digest auth
+ unsigned previousFailures; // number of times in a row authenticating to this
+ // location has failed; useful to be able to show a
+ // different dialog based on count
+}
+
+ at protocol WKAuthenticationHandler
+// Can we make this work without blocking the UI, or do we need to make it explicitly async
+// somehow?
+- (WKSimpleAuthenticationResult) authenticate: (WKSimpleAuthenticationRequest)request;
+
+// do we need anything for fancier authentication schemes like kerberos or GSSAPI?
+
// Do we provide a default dialog?
@end
diff --git a/WebKit/WebView.subproj/WKWebController.h b/WebKit/WebView.subproj/WKWebController.h
index 0f15045..c96355b 100644
--- a/WebKit/WebView.subproj/WKWebController.h
+++ b/WebKit/WebView.subproj/WKWebController.h
@@ -257,12 +257,37 @@
=============================================================================
*/
- at protocol WKCredentialsHandler
-// Ken will come up with a proposal for this. We decided not to have a generic API,
-// rather we'll have an API that explicitly knows about the authentication
-// attributes needed.
-// Client should use this API to collect information necessary to authenticate,
-// usually by putting up a dialog.
+
+/* should this be an interface instead? */
+struct WKSimpleAuthenticationResult {
+ NSString *username;
+ NSString *password;
+ // May need an extra rememberThisPassword flag if the loader mechanism is
+ // going to provide a persistent credentials cache (for starters we can have
+ // just a session cache)
+}
+
+/* should this be an interface instead? */
+struct WKSimpleAuthenticationRequest {
+ NSURL *uri; // nil if for something non-URI based
+ NSString *domain; // http authentication domain or some representation of
+ // auth domain for non-URI-based locations; otherwise nil.
+ NSString *username; // username, if already provided, otherwise nil
+ BOOL plaintextPassword; // password will be sent in the clear
+ // TRUE for http basic auth or ftp
+ // FALSE for http digest auth
+ unsigned previousFailures; // number of times in a row authenticating to this
+ // location has failed; useful to be able to show a
+ // different dialog based on count
+}
+
+ at protocol WKAuthenticationHandler
+// Can we make this work without blocking the UI, or do we need to make it explicitly async
+// somehow?
+- (WKSimpleAuthenticationResult) authenticate: (WKSimpleAuthenticationRequest)request;
+
+// do we need anything for fancier authentication schemes like kerberos or GSSAPI?
+
// Do we provide a default dialog?
@end
diff --git a/WebKit/WebView.subproj/WebController.h b/WebKit/WebView.subproj/WebController.h
index 0f15045..c96355b 100644
--- a/WebKit/WebView.subproj/WebController.h
+++ b/WebKit/WebView.subproj/WebController.h
@@ -257,12 +257,37 @@
=============================================================================
*/
- at protocol WKCredentialsHandler
-// Ken will come up with a proposal for this. We decided not to have a generic API,
-// rather we'll have an API that explicitly knows about the authentication
-// attributes needed.
-// Client should use this API to collect information necessary to authenticate,
-// usually by putting up a dialog.
+
+/* should this be an interface instead? */
+struct WKSimpleAuthenticationResult {
+ NSString *username;
+ NSString *password;
+ // May need an extra rememberThisPassword flag if the loader mechanism is
+ // going to provide a persistent credentials cache (for starters we can have
+ // just a session cache)
+}
+
+/* should this be an interface instead? */
+struct WKSimpleAuthenticationRequest {
+ NSURL *uri; // nil if for something non-URI based
+ NSString *domain; // http authentication domain or some representation of
+ // auth domain for non-URI-based locations; otherwise nil.
+ NSString *username; // username, if already provided, otherwise nil
+ BOOL plaintextPassword; // password will be sent in the clear
+ // TRUE for http basic auth or ftp
+ // FALSE for http digest auth
+ unsigned previousFailures; // number of times in a row authenticating to this
+ // location has failed; useful to be able to show a
+ // different dialog based on count
+}
+
+ at protocol WKAuthenticationHandler
+// Can we make this work without blocking the UI, or do we need to make it explicitly async
+// somehow?
+- (WKSimpleAuthenticationResult) authenticate: (WKSimpleAuthenticationRequest)request;
+
+// do we need anything for fancier authentication schemes like kerberos or GSSAPI?
+
// Do we provide a default dialog?
@end
diff --git a/WebKit/WebView.subproj/WebView.h b/WebKit/WebView.subproj/WebView.h
index 0f15045..c96355b 100644
--- a/WebKit/WebView.subproj/WebView.h
+++ b/WebKit/WebView.subproj/WebView.h
@@ -257,12 +257,37 @@
=============================================================================
*/
- at protocol WKCredentialsHandler
-// Ken will come up with a proposal for this. We decided not to have a generic API,
-// rather we'll have an API that explicitly knows about the authentication
-// attributes needed.
-// Client should use this API to collect information necessary to authenticate,
-// usually by putting up a dialog.
+
+/* should this be an interface instead? */
+struct WKSimpleAuthenticationResult {
+ NSString *username;
+ NSString *password;
+ // May need an extra rememberThisPassword flag if the loader mechanism is
+ // going to provide a persistent credentials cache (for starters we can have
+ // just a session cache)
+}
+
+/* should this be an interface instead? */
+struct WKSimpleAuthenticationRequest {
+ NSURL *uri; // nil if for something non-URI based
+ NSString *domain; // http authentication domain or some representation of
+ // auth domain for non-URI-based locations; otherwise nil.
+ NSString *username; // username, if already provided, otherwise nil
+ BOOL plaintextPassword; // password will be sent in the clear
+ // TRUE for http basic auth or ftp
+ // FALSE for http digest auth
+ unsigned previousFailures; // number of times in a row authenticating to this
+ // location has failed; useful to be able to show a
+ // different dialog based on count
+}
+
+ at protocol WKAuthenticationHandler
+// Can we make this work without blocking the UI, or do we need to make it explicitly async
+// somehow?
+- (WKSimpleAuthenticationResult) authenticate: (WKSimpleAuthenticationRequest)request;
+
+// do we need anything for fancier authentication schemes like kerberos or GSSAPI?
+
// Do we provide a default dialog?
@end
--
WebKit Debian packaging
More information about the Pkg-webkit-commits
mailing list