Merge ~cjwatson/squid-reverseproxy-charm:auth-helper into squid-reverseproxy-charm:master
Proposed by
Colin Watson
Status: | Merged |
---|---|
Approved by: | Tom Haddon |
Approved revision: | bd6a9ec1ed48e75b59d9f0e446d87e4d3ea611b8 |
Merged at revision: | 1b2ba3fe0f47a49721f445db9d31f9154e2b8144 |
Proposed branch: | ~cjwatson/squid-reverseproxy-charm:auth-helper |
Merge into: | squid-reverseproxy-charm:master |
Diff against target: |
345 lines (+181/-2) 11 files modified
README.md (+30/-0) config.yaml (+7/-0) hooks/auth-helper-relation-broken (+1/-0) hooks/auth-helper-relation-changed (+1/-0) hooks/auth-helper-relation-departed (+1/-0) hooks/auth-helper-relation-joined (+1/-0) hooks/hooks.py (+56/-1) hooks/tests/test_config_changed_hooks.py (+47/-1) hooks/tests/test_helpers.py (+25/-0) metadata.yaml (+4/-0) templates/main_config.template (+8/-0) |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Tom Haddon | Approve | ||
Canonical IS Reviewers | Pending | ||
Review via email: mp+407896@code.launchpad.net |
Commit message
Add authentication helper support
Description of the change
This allows relating a subordinate authentication helper charm to set up custom user authentication. We need this for Launchpad's builder proxy, which maintains a database of valid tokens that have been authorized by Launchpad's buildd-manager.
This commit is based on modifications to the squid-forwardproxy charm by Kit Randel in 2015. I've reworked them for squid-reverseproxy, moved most of the helper configuration into the subordinate charm's relation data, and added tests.
To post a comment you must log in.
This merge proposal is being monitored by mergebot. Change the status to Approved to merge.