harbor/src/core/auth/ldap
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
..
ldap_test.go fix: use ctx from http request for middlewares (#15523) 2021-09-02 19:05:35 +08:00
ldap.go fix: use ctx from http request for middlewares (#15523) 2021-09-02 19:05:35 +08:00