You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@dolphinscheduler.apache.org by ki...@apache.org on 2020/12/23 10:02:50 UTC
[incubator-dolphinscheduler] branch dev updated (e24e690 -> 50237af)
This is an automated email from the ASF dual-hosted git repository.
kirs pushed a change to branch dev
in repository https://gitbox.apache.org/repos/asf/incubator-dolphinscheduler.git.
from e24e690 [Improvement][ui]List vacancy optimization and icon icon repair (#4286)
add 50237af [FEATURE-736] integrate ldap authentication (#3743)
No new revisions were added by this update.
Summary of changes:
.../api/security/AuthenticationType.java | 2 +
.../api/security/Authenticator.java | 5 +-
.../api/security/SecurityConfig.java | 9 +-
.../AbstractAuthenticator.java} | 35 ++--
.../impl/ldap/LdapAuthenticator.java} | 37 ++--
.../api/security/impl/ldap/LdapService.java | 133 ++++++++++++++
.../impl/pwd/PasswordAuthenticator.java} | 26 ++-
.../dolphinscheduler/api/service/UsersService.java | 196 +++++++++++++--------
.../src/main/resources/application-api.properties | 14 +-
...ConfigTest.java => SecurityConfigLDAPTest.java} | 6 +-
...igTest.java => SecurityConfigPasswordTest.java} | 4 +-
.../security/impl/ldap/LdapAuthenticatorTest.java | 142 +++++++++++++++
.../api/security/impl/ldap/LdapServiceTest.java | 81 +++++++++
.../{ => impl/pwd}/PasswordAuthenticatorTest.java | 24 ++-
.../api/service/UsersServiceTest.java | 162 ++++++++---------
pom.xml | 6 +-
16 files changed, 674 insertions(+), 208 deletions(-)
rename dolphinscheduler-api/src/main/java/org/apache/dolphinscheduler/api/security/{PasswordAuthenticator.java => impl/AbstractAuthenticator.java} (80%)
copy dolphinscheduler-api/src/main/java/org/apache/dolphinscheduler/api/{service/UserAlertGroupService.java => security/impl/ldap/LdapAuthenticator.java} (50%)
create mode 100644 dolphinscheduler-api/src/main/java/org/apache/dolphinscheduler/api/security/impl/ldap/LdapService.java
copy dolphinscheduler-api/src/main/java/org/apache/dolphinscheduler/api/{service/UserAlertGroupService.java => security/impl/pwd/PasswordAuthenticator.java} (60%)
copy dolphinscheduler-api/src/test/java/org/apache/dolphinscheduler/api/security/{SecurityConfigTest.java => SecurityConfigLDAPTest.java} (94%)
rename dolphinscheduler-api/src/test/java/org/apache/dolphinscheduler/api/security/{SecurityConfigTest.java => SecurityConfigPasswordTest.java} (97%)
create mode 100644 dolphinscheduler-api/src/test/java/org/apache/dolphinscheduler/api/security/impl/ldap/LdapAuthenticatorTest.java
create mode 100644 dolphinscheduler-api/src/test/java/org/apache/dolphinscheduler/api/security/impl/ldap/LdapServiceTest.java
rename dolphinscheduler-api/src/test/java/org/apache/dolphinscheduler/api/security/{ => impl/pwd}/PasswordAuthenticatorTest.java (91%)