Adding cleanup thread to jaxrs configuration
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>