Skip to content

Tell Sabre Client to actually send an AuthHeader with each request. - #11826

Closed
dragotin wants to merge 1 commit into
stable7from
sabreclient_setauthheader
Closed

dragotin wants to merge 1 commit into
stable7from
sabreclient_setauthheader

Conversation

@dragotin

Copy link
Copy Markdown
Contributor

That saves half of the requests to the other dav backend because no
unauthorized reply is coming back, but the request is authenticated in
the first place.

That saves half of the requests to the other dav backend because no
unauthorized reply is coming back, but the request is authenticated in
the first place.
@scrutinizer-notifier

Copy link
Copy Markdown

The inspection completed: No new issues

@ghost

ghost commented Oct 28, 2014

Copy link
Copy Markdown

💣 Test FAILed. 💣
Refer to this link for build results (access rights to CI server needed):
https://ci.owncloud.org//job/pull-request-analyser-ng-simple/1453/

Failed Tests: 1

label=vm-slave-02: 1


💣 Test FAILed. 💣

@PVince81

Copy link
Copy Markdown
Contributor

@icewind1991 @DeepDiver1975 what do you think ? (I'll test this later)

@LukasReschke

Copy link
Copy Markdown
Contributor

@owncloud-bot Seriously, retest this please.

@ghost

ghost commented Oct 28, 2014

Copy link
Copy Markdown

🚀 Test PASSed. 🚀
Refer to this link for build results (access rights to CI server needed):
https://ci.owncloud.org//job/pull-request-analyser-ng-simple/1463/
🚀 Test PASSed. 🚀

@LukasReschke

Copy link
Copy Markdown
Contributor

@karlitschek This is against stable7. Please approve.

@LukasReschke

Copy link
Copy Markdown
Contributor

What is not clear for me is whether this will provide problems when the remote server uses Digest Access Authentication which is even defined as other constant in Sabre\Dav\Client. - Let me dig into this…

@LukasReschke

Copy link
Copy Markdown
Contributor

Confirmed, this breaks DAV mountpoints that are using Digest Authentication 👎

What we can do is caching / storing the authentication type for a mount point and set it either to AUTH_BASIC or AUTH_DIGEST.

@guruz

guruz commented Oct 29, 2014

Copy link
Copy Markdown
Contributor

Sorry to sound negative..

IMHO this is the wrong approach.
Authentication should be used for the authentication process only, not for then claiming that you're authenticated.
The cookie approach described in #11815 sounds better.

@LukasReschke

Copy link
Copy Markdown
Contributor

The cookie approach described in #11815 sounds better.

Cookies are only for Server-to-Server Sharing available, not for regular WebDAV mounts. - But the S2S case might be the one that is more often in use.

@DeepDiver1975

Copy link
Copy Markdown
Contributor

The cookie approach described in #11815 sounds better.

please note that webdav all by itself does not support sessions - sessions on webdav is a ownCloud only thingy

@LukasReschke

Copy link
Copy Markdown
Contributor

Let's close this for now and replace it by #12228

@LukasReschke
LukasReschke deleted the sabreclient_setauthheader branch November 21, 2014 14:51
@lock lock Bot locked as resolved and limited conversation to collaborators Aug 15, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants