Closed
Bug 284632
Opened 20 years ago
Closed 8 years ago
Add notification (authentication) support in webdav
Categories
(Core Graveyard :: WebDAV, defect)
Tracking
(Not tracked)
RESOLVED
INCOMPLETE
People
(Reporter: stelian, Unassigned)
Details
Attachments
(1 file)
|
2.04 KB,
patch
|
Details | Diff | Splinter Review |
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.6) Gecko/20050224 Firefox/1.0.1 Fedora/1.0.1-1.3.1 Build Identifier: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.6) Gecko/20050224 Firefox/1.0.1 Fedora/1.0.1-1.3.1 currently the webdav extension code does not do authentification at all. the attached patch adds a notificationCallbacks attribute to nsIWebDAVResource. This callback gets propagated to the channel and is called when an authentification is necessary. An application can use this callback to call a nsIAuthPrompt implementation... Reproducible: Always
| Reporter | ||
Comment 1•20 years ago
|
||
Comment 2•20 years ago
|
||
Hrm, I'm not sure that the notification callbacks are really part of the resource. I'd like to put locks on the resource, because pretty much any operation on a given resource will want to use any present locks, but different operations on a given resource may well want different notification targets. I also _loathe_ nsIInterfaceRequestor, but I guess that's the interface necko wants here. Hmph.
Status: UNCONFIRMED → NEW
Ever confirmed: true
Summary: Add authentification support in webdav → Add notification (authentication) support in webdav
Comment 3•20 years ago
|
||
So I still don't like having it on the resource interface. What do people think about /** * Return an interface pointer that will use the provided notificationCallbacks * for all appropriate network operations. */ nsIWebDAVService getAuthenticatingWrapper(in nsIInterfaceRequestor notificationCallbacks); on nsIWebDAVService?
| Reporter | ||
Comment 4•20 years ago
|
||
This is ok for me.
Updated•8 years ago
|
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → INCOMPLETE
| Assignee | ||
Updated•8 years ago
|
Product: Core → Core Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•