harbor/src/core
Daniel Jiang 2064a1cd6d Switch to basic authentication for registry
1. Add basic authorizer for registry which modify the request
to add basic authorization header to request based on configuration.
2. Set basic auth header for proxy when accessing registry
3. Switche the registry to use basic auth by default and use the basic
authorizer to access Harbor.
4. Make necessary change to test cases, particularly
"test_robot_account.py" and "docker_api.py", because the error is
changed after siwtched to basic auth from token auth.  #10604 is opened
to track the follow up work.

Signed-off-by: Daniel Jiang <jiangd@vmware.com>
2020-01-31 21:46:47 +09:00
..
api Switch to basic authentication for registry 2020-01-31 21:46:47 +09:00
auth Fix admin permission not revoked when removed from LDAP admin group 2019-12-20 13:12:22 +08:00
config Populate basic auth information for registry 2019-12-31 14:50:46 +08:00
controllers Switch to new registry API handlers (#10596) 2020-01-30 21:21:07 +08:00
filter feat(beego): upgrade beego to v1.12 which support middleware (#10524) 2020-01-20 16:41:49 +08:00
label Rename harbor-ui to harbor-core 2018-09-19 16:35:13 +08:00
middlewares Add middlewares for permission checking for v2 API 2020-01-27 12:53:15 +08:00
notifier add quota exceed event imple 2019-11-14 10:27:18 +08:00
promgr Clean up admiral-related code 2019-11-28 17:28:54 +08:00
service Disable XSRF check for /service/token 2019-12-27 14:01:40 +08:00
systeminfo Bump up golang to 1.11.2 2019-01-11 14:44:32 +08:00
utils Switch to basic authentication for registry 2020-01-31 21:46:47 +09:00
views Close <a> tag in error template 2019-08-14 08:37:44 +01:00
main.go feat(middleware): add transaction middleware for v2 and v2.0 APIs 2020-01-22 05:00:39 +00:00