Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Currently only the username and password fields are provided in the settings. Since basic and digest are fairly common it should support the ability to switch between them easily.
Comment | File | Size | Author |
---|---|---|---|
#5 | 669456-http-auth-method.patch | 4.33 KB | boombatower |
#3 | 669456-http-auth-method.patch | 3.36 KB | boombatower |
#2 | 669456-http-auth-method.patch | 5.77 KB | boombatower |
#1 | 669456-http-auth-method.patch | 5.79 KB | boombatower |
Comments
Comment #1
boombatower CreditAttribution: boombatower commentedComment #2
boombatower CreditAttribution: boombatower commentedHmmm, that patch was messed up.
Comment #3
boombatower CreditAttribution: boombatower commentedDouble fail.
Comment #4
Dave ReidWould seem to make more sense to have this variable's name be simpletest_httpauth_method. Little longer, but self-documenting.
Do we need to explain these values at all or the fact that Any and the Any safe options are catch-all options?
This review is powered by Dreditor.
Comment #5
boombatower CreditAttribution: boombatower commentedDecided that this is dev setting, so we can assume they know them or can look them up and don't need/want to clutter this.
Renamed all related variables to httpauth_.
Comment #6
Dave ReidLooks good. Upgrade path isn't necessary since this is a 'new' module (although we should put one in the 6.x-2.x backport).
Comment #7
Dries CreditAttribution: Dries commentedCommitted to CVS HEAD. Thanks boombatower.
Comment #8
cburschkaIn order to be able to use this in all PHP environments, it would be helpful if this patch could be looked at: #670454: Support HTTP Authorization in CGI environment. :-)