From ab102fc8d8fc9548908a8331e409d26bebff3286 Mon Sep 17 00:00:00 2001 From: Andrei Forascu Date: Fri, 11 May 2018 10:26:25 +0300 Subject: [PATCH] REPO-3514 / ACE-5823: Authentication - Unable to set Kerberos authentication properties (#69) * REPO-3514 / ACE-5823: Authentication - Unable to set Kerberos authentication properties - fix path for the Spring context files - added context file with beans that are required for authentication subsystem --- .../alfrescoNtlm/ntlm-filter-context.xml | 0 .../alfrescoNtlm/ntlm-filter.properties | 0 .../external/external-filter-context.xml | 0 .../kerberos/kerberos-filter-context.xml | 0 .../kerberos/kerberos-filter.properties | 0 .../passthru/ntlm-filter-context.xml | 0 .../passthru/ntlm-filter.properties | 0 .../web-client-application-context.xml | 133 ++++++++++++++++++ 8 files changed, 133 insertions(+) rename src/main/resources/alfresco/{subsystems.Authentication => subsystems/Authentication}/alfrescoNtlm/ntlm-filter-context.xml (100%) rename src/main/resources/alfresco/{subsystems.Authentication => subsystems/Authentication}/alfrescoNtlm/ntlm-filter.properties (100%) rename src/main/resources/alfresco/{subsystems.Authentication => subsystems/Authentication}/external/external-filter-context.xml (100%) rename src/main/resources/alfresco/{subsystems.Authentication => subsystems/Authentication}/kerberos/kerberos-filter-context.xml (100%) rename src/main/resources/alfresco/{subsystems.Authentication => subsystems/Authentication}/kerberos/kerberos-filter.properties (100%) rename src/main/resources/alfresco/{subsystems.Authentication => subsystems/Authentication}/passthru/ntlm-filter-context.xml (100%) rename src/main/resources/alfresco/{subsystems.Authentication => subsystems/Authentication}/passthru/ntlm-filter.properties (100%) create mode 100644 src/main/resources/alfresco/web-client-application-context.xml diff --git a/src/main/resources/alfresco/subsystems.Authentication/alfrescoNtlm/ntlm-filter-context.xml b/src/main/resources/alfresco/subsystems/Authentication/alfrescoNtlm/ntlm-filter-context.xml similarity index 100% rename from src/main/resources/alfresco/subsystems.Authentication/alfrescoNtlm/ntlm-filter-context.xml rename to src/main/resources/alfresco/subsystems/Authentication/alfrescoNtlm/ntlm-filter-context.xml diff --git a/src/main/resources/alfresco/subsystems.Authentication/alfrescoNtlm/ntlm-filter.properties b/src/main/resources/alfresco/subsystems/Authentication/alfrescoNtlm/ntlm-filter.properties similarity index 100% rename from src/main/resources/alfresco/subsystems.Authentication/alfrescoNtlm/ntlm-filter.properties rename to src/main/resources/alfresco/subsystems/Authentication/alfrescoNtlm/ntlm-filter.properties diff --git a/src/main/resources/alfresco/subsystems.Authentication/external/external-filter-context.xml b/src/main/resources/alfresco/subsystems/Authentication/external/external-filter-context.xml similarity index 100% rename from src/main/resources/alfresco/subsystems.Authentication/external/external-filter-context.xml rename to src/main/resources/alfresco/subsystems/Authentication/external/external-filter-context.xml diff --git a/src/main/resources/alfresco/subsystems.Authentication/kerberos/kerberos-filter-context.xml b/src/main/resources/alfresco/subsystems/Authentication/kerberos/kerberos-filter-context.xml similarity index 100% rename from src/main/resources/alfresco/subsystems.Authentication/kerberos/kerberos-filter-context.xml rename to src/main/resources/alfresco/subsystems/Authentication/kerberos/kerberos-filter-context.xml diff --git a/src/main/resources/alfresco/subsystems.Authentication/kerberos/kerberos-filter.properties b/src/main/resources/alfresco/subsystems/Authentication/kerberos/kerberos-filter.properties similarity index 100% rename from src/main/resources/alfresco/subsystems.Authentication/kerberos/kerberos-filter.properties rename to src/main/resources/alfresco/subsystems/Authentication/kerberos/kerberos-filter.properties diff --git a/src/main/resources/alfresco/subsystems.Authentication/passthru/ntlm-filter-context.xml b/src/main/resources/alfresco/subsystems/Authentication/passthru/ntlm-filter-context.xml similarity index 100% rename from src/main/resources/alfresco/subsystems.Authentication/passthru/ntlm-filter-context.xml rename to src/main/resources/alfresco/subsystems/Authentication/passthru/ntlm-filter-context.xml diff --git a/src/main/resources/alfresco/subsystems.Authentication/passthru/ntlm-filter.properties b/src/main/resources/alfresco/subsystems/Authentication/passthru/ntlm-filter.properties similarity index 100% rename from src/main/resources/alfresco/subsystems.Authentication/passthru/ntlm-filter.properties rename to src/main/resources/alfresco/subsystems/Authentication/passthru/ntlm-filter.properties diff --git a/src/main/resources/alfresco/web-client-application-context.xml b/src/main/resources/alfresco/web-client-application-context.xml new file mode 100644 index 0000000000..557e7a69db --- /dev/null +++ b/src/main/resources/alfresco/web-client-application-context.xml @@ -0,0 +1,133 @@ + + + + + + + + + + + + + + + + + + org.alfresco.repo.web.filter.beans.DependencyInjectedFilter + + + + globalAuthenticationFilter + + + + + + + + + + + + + + org.alfresco.repo.web.filter.beans.DependencyInjectedFilter + + + + cookieBasedAuthenticationFilter + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + org.alfresco.repo.web.filter.beans.DependencyInjectedFilter + + + + webscriptAuthenticationFilter + + + + + + + + + + + + + + + + org.alfresco.repo.web.filter.beans.DependencyInjectedFilter + + + + webDavAuthenticationFilter + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +