Changed token type to authentication type.
Change-Id: Icb2f87c5d1da57dab8a1ed31817bce84222a4a27
diff --git a/full/src/main/resources/default-config.xml b/full/src/main/resources/default-config.xml
index 46aa18a..5fb4896 100644
--- a/full/src/main/resources/default-config.xml
+++ b/full/src/main/resources/default-config.xml
@@ -195,7 +195,12 @@
</bean>
<!-- authentication providers to use -->
- <bean id="api_auth" class="de.ids_mannheim.korap.authentication.APIAuthentication">
+ <!-- <bean id="api_auth" class="de.ids_mannheim.korap.authentication.APIAuthentication">
+ <constructor-arg type="de.ids_mannheim.korap.config.KustvaktConfiguration"
+ ref="kustvakt_config" />
+ </bean> -->
+
+ <bean id="ldap_auth" class="de.ids_mannheim.korap.authentication.LdapAuth3">
<constructor-arg type="de.ids_mannheim.korap.config.KustvaktConfiguration"
ref="kustvakt_config" />
</bean>
@@ -222,8 +227,9 @@
<util:list id="kustvakt_authproviders"
value-type="de.ids_mannheim.korap.interfaces.AuthenticationIface">
<ref bean="basic_auth" />
+ <ref bean="ldap_auth" />
<ref bean="session_auth" />
- <ref bean="api_auth" />
+ <!-- <ref bean="api_auth" /> -->
<ref bean="openid_auth" />
</util:list>