Commit Graph

12 Commits

Author SHA1 Message Date
stonezdj f138067242 Refactor project member 2018-02-09 10:38:51 +08:00
stonezdj ec67974104 Refactor ldap
Changes include:

1. Use Session to manage the lifecycle of ldap connections
2. Abstract common AuthenticateHelper interface for db_auth, ldap_auth,
uaa_auth mode
2017-12-13 14:57:04 +08:00
stonezdj 1179769e31 Update with PR review comment 2017-11-24 14:53:34 +08:00
stonezdj 16243cfbbc Add LDAP remote certifcate validation
push test

Add unit test for ldap verify cert

remove common.VerifyRemoteCert

Update code with PR review comments

Add change ldaps config and add UT testcase for TLS feature

add ldap verfiy cert checkbox about #3513

Draft harbor ova install guide

Search and import ldap user when add project members

Add unit test case for SearchAndImportUser

ova guide

Add ova install guide

Add ova install guide 2

Add ova install guide 3

Call ValidateLdapConf before search ldap

trim space in username

Remove leading space in openLdap username

Remove doc change in this branch

Update unit test for ldap search and import user

Add test case about ldap verify cert checkbox

Modify ldap testcase
2017-11-24 12:41:51 +08:00
Wenkai Yin d51b01c200 fix bug in GET member API 2017-07-12 19:17:26 +08:00
Wenkai Yin 0de64ed139 bug fix 2017-07-10 18:38:21 +08:00
Wenkai Yin d668730ffa return real status code returned by admiral APIs 2017-07-07 18:40:57 +08:00
Wenkai Yin 17813a75f0 refactor member API 2017-05-19 17:35:08 +08:00
wy65701436 53f7cfb967 replace go header 2017-04-13 03:54:58 -07:00
Wenkai Yin a64891103d escapse % and _ in sql 2016-11-17 16:39:45 +08:00
Wenkai Yin a7c84cc2c8 fix #895. 2016-10-27 17:23:47 +08:00
yhua 311cf8da07 change code 20161019 2016-10-21 18:39:10 +08:00