forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commitadcdb2c
committed
Explicitly require password for SCRAM exchange
This refactors the SASL init flow to set password_needed on the twoSCRAM exchanges currently supported. The code already required thisbut was set up in such a way that all SASL exchanges required usinga password, a restriction which may not hold for all exchanges (theexample at hand being the proposed OAuthbearer exchange).This was extracted from a larger patchset to introduce OAuthBearerauthentication and authorization.Author: Jacob Champion <jacob.champion@enterprisedb.com>Discussion:https://postgr.es/m/d1b467a78e0e36ed85a09adf979d04cf124a9d4b.camel@vmware.com1 parent24178e2 commitadcdb2c
1 file changed
+15
-13
lines changedLines changed: 15 additions & 13 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
425 | 425 |
| |
426 | 426 |
| |
427 | 427 |
| |
428 |
| - | |
| 428 | + | |
429 | 429 |
| |
430 | 430 |
| |
431 | 431 |
| |
| |||
446 | 446 |
| |
447 | 447 |
| |
448 | 448 |
| |
449 |
| - | |
450 |
| - | |
| 449 | + | |
451 | 450 |
| |
452 | 451 |
| |
453 | 452 |
| |
| |||
487 | 486 |
| |
488 | 487 |
| |
489 | 488 |
| |
| 489 | + | |
490 | 490 |
| |
491 | 491 |
| |
492 | 492 |
| |
| |||
522 | 522 |
| |
523 | 523 |
| |
524 | 524 |
| |
| 525 | + | |
525 | 526 |
| |
526 | 527 |
| |
527 | 528 |
| |
| |||
545 | 546 |
| |
546 | 547 |
| |
547 | 548 |
| |
548 |
| - | |
549 |
| - | |
| 549 | + | |
550 | 550 |
| |
551 |
| - | |
552 |
| - | |
553 |
| - | |
554 |
| - | |
555 |
| - | |
| 551 | + | |
556 | 552 |
| |
557 |
| - | |
558 |
| - | |
559 |
| - | |
| 553 | + | |
| 554 | + | |
| 555 | + | |
| 556 | + | |
| 557 | + | |
| 558 | + | |
| 559 | + | |
| 560 | + | |
| 561 | + | |
560 | 562 |
| |
561 | 563 |
| |
562 | 564 |
| |
|
0 commit comments
Comments
(0)