Hallo,
wir haben das BasicSearch (ehem. FS-Search) und das Personalisation Modul im Einsatz.
Einige Seiten sind über das Personalisation geschützt. Bei der Indizierung läuft die SpiderEngine auf einen Fehler, wenn sie auf die geschützten Seiten zugreifen will, obwohl der Benutzer, der in den Credentials angegeben ist Berechtigungen für diese Seiten hat. Im Log des fs-search Moduls werden mehrere Exceptions ausgegeben. U.a.
[...]
ERROR 2012-02-07 11:46:53,418 (de.espirit.firstspirit.opt.personalisation.modules.login.NTLMLoginModule) [SessionId: 87DE96383C5030AA834240DEC7C262DE] SmbException occured while performing NTLM-Authentication for user [DOMAIN]\[BENUTZER]
jcifs.smb.SmbException:
java.lang.ArrayIndexOutOfBoundsException
at java.lang.System.arraycopy(Native Method)
at jcifs.smb.SigningDigest.<init>(SigningDigest.java:42)
[...]
INFO 2012-02-07 11:46:53,419 (de.espirit.firstspirit.opt.personalisation.modules.login.NTLMLoginModule) [SessionId: 87DE96383C5030AA834240DEC7C262DE] NTLM-Autologin was not successfull for user '[BENUTZER]'
ERROR 2012-02-07 11:46:53,419 (de.espirit.firstspirit.opt.personalisation.LoginManager) [SessionId: 87DE96383C5030AA834240DEC7C262DE] NTLM-Autologin was not successfull!
java.lang.Exception: NTLM-Autologin was not successfull!
at de.espirit.firstspirit.opt.personalisation.modules.login.NTLMLoginModule.getLoginData(NTLMLoginModule.java:430)
at de.espirit.firstspirit.opt.personalisation.LoginManager.performLogin(LoginManager.java:168)
[...]
INFO 2012-02-07 11:46:53,420 (de.espirit.firstspirit.opt.personalisation.LoginManager) [SessionId: 87DE96383C5030AA834240DEC7C262DE] Can't get login-data: Error during login (NTLM-Autologin was not successfull!)!
ERROR 2012-02-07 11:46:53,420 (de.espirit.firstspirit.opt.personalisation.LoginManager) [SessionId: 87DE96383C5030AA834240DEC7C262DE] No login-data available!
java.lang.Exception: No login-data available!
at de.espirit.firstspirit.opt.personalisation.modules.login.RequestParameterLoginModule.getLoginData(RequestParameterLoginModule.java:61)
at de.espirit.firstspirit.opt.personalisation.LoginManager.performLogin(LoginManager.java:168)
at de.espirit.firstspirit.opt.personalisation.LoginManager.performLogin(LoginManager.java:109)
[...]
INFO 2012-02-07 11:46:53,421 (de.espirit.firstspirit.opt.personalisation.LoginManager) [SessionId: 87DE96383C5030AA834240DEC7C262DE] Can't get login-data: Error during login (No login-data available!)!
ERROR 2012-02-07 11:46:53,422 (de.espirit.firstspirit.opt.personalisation.modules.login.NTLMLoginModule) [SessionId: 87DE96383C5030AA834240DEC7C262DE] SmbException occured while performing NTLM-Authentication for user [DOMAIN]\[BENUTZER]
jcifs.smb.SmbException:
java.lang.ArrayIndexOutOfBoundsException
at java.lang.System.arraycopy(Native Method)
at jcifs.smb.SigningDigest.<init>(SigningDigest.java:42)
[...]
Habe ich die SpiderEngine falsch konfiguriert?
Die fs-search.xml sieht wie folgt aus:
<service class="de.espirit.firstspirit.opt.search.service.adapter.ServerService">
<server class="de.espirit.firstspirit.opt.search.server.SimpleServer">
<engine name="fssEngine" class="de.espirit.firstspirit.opt.search.engine.proxy.SecurityEngineProxy">
<engine class="de.espirit.firstspirit.opt.search.engine.spider.SpiderEngine">
<attribute name="urls" type="list">
<!-- StartURL der Suche -->
<attribute>http://meinserver/index.jsp</attribute>
</attribute>
<!-- Index-Speicherort -->
<attribute name="index">/opt/fssearch/index</attribute>
<!-- Java Threads -->
<attribute name="maxThreads">2</attribute>
<attribute name="threadPriority">1</attribute>
<!-- Zur Indizierung freigegebene Ordner (Verbotene mit forbidden) -->
<attribute name="allowed" type="list">
<attribute class="de.espirit.firstspirit.opt.search.engine.spider.link.RegexWebLinkFilter">http://meinserver/</attribute>
</attribute>
<!-- Indizierungsparameter -->
<attribute name="maxDocuments">10000</attribute>
<attribute name="maxTime">120m</attribute>
<attribute name="credentials" type="list">
<attribute type="map">
<attribute name="authType">ntlm</attribute>
<attribute name="authUsername">[Benutzer]</attribute>
<attribute name="authPassword">[Kennwort]</attribute>
<attribute name="authHost">[IP-Adresse des Domain-Controllers]</attribute>
<attribute name="authDomain">[Domain]</attribute>
</attribute>
</attribute>
</engine>
<attribute name="acceptUndefinedResults">true</attribute>
<attribute name="resultKey">groups</attribute>
<attribute name="propertyKey">FIRSTpersonalisation.usergroups</attribute>
<attribute name="locales" type="map">
<filter name="de" class="de.espirit.firstspirit.opt.search.filter.RegexFilter">
<attribute name="property">url</attribute>
<attribute name="pattern">(/de/)</attribute>
</filter>
<filter name="en" class="de.espirit.firstspirit.opt.search.filter.RegexFilter">
<attribute name="property">url</attribute>
<attribute name="pattern">(/en/)</attribute>
</filter>
</attribute>
</engine>
</server>
<attribute name="localName">fssServer</attribute>
<attribute name="createRMI">false</attribute>
<attribute name="bindTo">local</attribute>
</service>
Vielen Dank und Gruß,
Fernando Morales