harbor/src/core/auth
He Weiwei 06f2414d1c
fix: use ctx from http request for middlewares (#15523)
1. Use ctx from http request for the readonly middleware.
2. Refactor the AuthenticateHelper to let it get orm from ctx of the http request.
3. Change to use ctx from http request for oidc and authproxy http handlers.

Signed-off-by: He Weiwei <hweiwei@vmware.com>
2021-09-02 19:05:35 +08:00
..
authproxy fix: use ctx from http request for middlewares (#15523) 2021-09-02 19:05:35 +08:00
db fix: use ctx from http request for middlewares (#15523) 2021-09-02 19:05:35 +08:00
ldap fix: use ctx from http request for middlewares (#15523) 2021-09-02 19:05:35 +08:00
oidc fix: use ctx from http request for middlewares (#15523) 2021-09-02 19:05:35 +08:00
uaa fix: use ctx from http request for middlewares (#15523) 2021-09-02 19:05:35 +08:00
auth_test.go fix: use ctx from http request for middlewares (#15523) 2021-09-02 19:05:35 +08:00
authenticator.go fix: use ctx from http request for middlewares (#15523) 2021-09-02 19:05:35 +08:00
lock.go Replacing copyright notices with "Copyright Project Harbor Authors". 2018-09-19 16:59:36 +00:00