This is an automated email from the ASF dual-hosted git repository.
smolnar82 pushed a change to branch master
in repository https://gitbox.apache.org/repos/asf/knox.git
from d9978443c KNOX-3357: Upgrade Webshell UI frameworks/libraries (#1276)
add 8a1332bdf KNOX-3341: LDAP proxy backend handles general searches
(#1274)
No new revisions were added by this update.
Summary of changes:
.../knox/gateway/services/ldap/LdapMessages.java | 27 +-
.../services/ldap/SchemaManagerFactory.java | 83 +++-
.../gateway/services/ldap/backend/FileBackend.java | 40 +-
.../ldap/backend/FilterMappingVisitor.java | 117 +++++
.../gateway/services/ldap/backend/LdapBackend.java | 16 +-
.../services/ldap/backend/LdapProxyBackend.java | 473 ++++++++++++---------
.../ldap/backend/RemoteSchemaConverter.java | 177 ++++++++
...terceptor.java => DisabledUserInterceptor.java} | 74 +++-
...ry.java => DisabledUserInterceptorFactory.java} | 8 +-
.../DuplicateUserFilteringInterceptor.java | 3 +-
.../ldap/interceptor/UserSearchInterceptor.java | 104 +----
...ces.ldap.interceptor.KnoxLdapInterceptorFactory | 3 +-
.../ldap/backend/LdapProxyBackendTest.java | 397 ++++++++++++++---
...rTest.java => DisabledUserInterceptorTest.java} | 93 ++--
.../DuplicateUserFilteringInterceptorTest.java | 19 +-
.../ldap/interceptor/InterceptorTestUtils.java | 37 +-
.../test/resources/ldap-proxy-backend-test.ldif | 19 +
.../src/test/resources/ldap-recursive-test.ldif | 86 ++++
knox-site/docs/service_ldap_server.md | 46 +-
19 files changed, 1343 insertions(+), 479 deletions(-)
create mode 100644
gateway-server/src/main/java/org/apache/knox/gateway/services/ldap/backend/FilterMappingVisitor.java
create mode 100644
gateway-server/src/main/java/org/apache/knox/gateway/services/ldap/backend/RemoteSchemaConverter.java
copy
gateway-server/src/main/java/org/apache/knox/gateway/services/ldap/interceptor/{DuplicateUserFilteringInterceptor.java
=> DisabledUserInterceptor.java} (52%)
copy
gateway-server/src/main/java/org/apache/knox/gateway/services/ldap/interceptor/{UserSearchInterceptorFactory.java
=> DisabledUserInterceptorFactory.java} (81%)
copy
gateway-server/src/test/java/org/apache/knox/gateway/services/ldap/interceptor/{DuplicateUserFilteringInterceptorTest.java
=> DisabledUserInterceptorTest.java} (59%)
copy
gateway-provider-security-preauth/src/test/java/org/apache/knox/gateway/provider/federation/DefaultValidatorTest.java
=>
gateway-server/src/test/java/org/apache/knox/gateway/services/ldap/interceptor/InterceptorTestUtils.java
(52%)