Adding cleanup thread to jaxrs configuration

This commit is contained in:
Martin Stockhammer 2020-01-24 21:55:24 +01:00
parent 6ae96dd279
commit 41acd969bb
1 changed files with 2 additions and 5 deletions

View File

@ -56,11 +56,7 @@
<ref bean="passwordService#rest"/> <ref bean="passwordService#rest"/>
<ref bean="ldapGroupMappingService#rest"/> <ref bean="ldapGroupMappingService#rest"/>
</jaxrs:serviceBeans> </jaxrs:serviceBeans>
<!--
<jaxrs:outInterceptors>
<ref bean="threadLocalUserCleaner#rest"/>
</jaxrs:outInterceptors>
-->
<jaxrs:providers> <jaxrs:providers>
<ref bean="jsonProvider"/> <ref bean="jsonProvider"/>
<ref bean="authenticationInterceptor#rest"/> <ref bean="authenticationInterceptor#rest"/>
@ -68,6 +64,7 @@
<ref bean="redbackServiceExceptionMapper"/> <ref bean="redbackServiceExceptionMapper"/>
<ref bean="passwordRuleViolationExceptionMapper"/> <ref bean="passwordRuleViolationExceptionMapper"/>
<ref bean="requestValidationInterceptor#rest" /> <ref bean="requestValidationInterceptor#rest" />
<ref bean="threadLocalUserCleaner#rest"/>
</jaxrs:providers> </jaxrs:providers>
</jaxrs:server> </jaxrs:server>