Added annotation scheme in config & fixed authentication exceptions.
Change-Id: I19dd25b99f34c7aa51b2f1aea04837b2337838d8
diff --git a/lite/src/main/resources/light-config.xml b/lite/src/main/resources/light-config.xml
index 6b1fa49..b219666 100644
--- a/lite/src/main/resources/light-config.xml
+++ b/lite/src/main/resources/light-config.xml
@@ -36,7 +36,7 @@
</bean>
<bean id="kustvakt_response"
- class="de.ids_mannheim.korap.web.utils.KustvaktResponseHandler">
+ class="de.ids_mannheim.korap.web.CoreResponseHandler">
<constructor-arg index="0" name="iface" ref="kustvakt_auditing"/>
</bean>
@@ -49,6 +49,10 @@
class="de.ids_mannheim.korap.interfaces.defaults.DefaultEncryption">
</bean>
+ <bean id="kustvakt_rewrite" class="de.ids_mannheim.korap.resource.rewrite.RewriteHandler">
+ <constructor-arg ref="kustvakt_config" />
+ </bean>
+
<bean id="search_krill"
class="de.ids_mannheim.korap.web.SearchKrill">
<constructor-arg value="${krill.indexDir}"/>