This is an automated email from the ASF dual-hosted git repository.
martin_s pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/archiva-redback-core.git
The following commit(s) were added to refs/heads/master by this push:
new 41acd96 Adding cleanup thread to jaxrs configuration
41acd96 is described below
commit 41acd969bbdd2d6121ec8726f73cd87ce381211b
Author: Martin Stockhammer <[email protected]>
AuthorDate: Fri Jan 24 21:55:24 2020 +0100
Adding cleanup thread to jaxrs configuration
---
.../src/main/resources/META-INF/spring-context.xml | 7 ++-----
1 file changed, 2 insertions(+), 5 deletions(-)
diff --git
a/redback-integrations/redback-rest/redback-rest-services/src/main/resources/META-INF/spring-context.xml
b/redback-integrations/redback-rest/redback-rest-services/src/main/resources/META-INF/spring-context.xml
index 7ca444d..c0b2e74 100644
---
a/redback-integrations/redback-rest/redback-rest-services/src/main/resources/META-INF/spring-context.xml
+++
b/redback-integrations/redback-rest/redback-rest-services/src/main/resources/META-INF/spring-context.xml
@@ -56,11 +56,7 @@
<ref bean="passwordService#rest"/>
<ref bean="ldapGroupMappingService#rest"/>
</jaxrs:serviceBeans>
- <!--
- <jaxrs:outInterceptors>
- <ref bean="threadLocalUserCleaner#rest"/>
- </jaxrs:outInterceptors>
- -->
+
<jaxrs:providers>
<ref bean="jsonProvider"/>
<ref bean="authenticationInterceptor#rest"/>
@@ -68,6 +64,7 @@
<ref bean="redbackServiceExceptionMapper"/>
<ref bean="passwordRuleViolationExceptionMapper"/>
<ref bean="requestValidationInterceptor#rest" />
+ <ref bean="threadLocalUserCleaner#rest"/>
</jaxrs:providers>
</jaxrs:server>