留言板
NTLM - Direct Autologin
Hello,
i am using Liferay 6.0.6 CE. I have configured Liferay to use NTLM with LDAP for authentication. I am using a Windows 7 64Bit OS.
This works fine when clicking on the Sign in Link at the right upper corner.
I want Liferay users to be authenticated whenever they enter the portal.
So i have adjusted the NTLM-Filter:
and the corresponding java class with
What i get is a dialog where i have to enter my account data again and again when opening the portal.
Maybe i have missed someting? Anyone with the same problem?
Greetings,
Yves
i am using Liferay 6.0.6 CE. I have configured Liferay to use NTLM with LDAP for authentication. I am using a Windows 7 64Bit OS.
This works fine when clicking on the Sign in Link at the right upper corner.
I want Liferay users to be authenticated whenever they enter the portal.
So i have adjusted the NTLM-Filter:
<filter-mapping>
<filter-name>SSO Ntlm Filter</filter-name>
<!-- <url-pattern>/c/portal/login</url-pattern> -->
<url-pattern>/*</url-pattern>
<dispatcher>REQUEST</dispatcher>
<dispatcher>FORWARD</dispatcher>
</filter-mapping>
and the corresponding java class with
//if ((path != null) && path.endsWith("/login")) {
if (path != null) {
NtlmUserAccount ntlmUserAccount = null;
if (session != null) {
ntlmUserAccount = (NtlmUserAccount)session.getAttribute(WebKeys.NTLM_USER_ACCOUNT);
}
...
What i get is a dialog where i have to enter my account data again and again when opening the portal.
Maybe i have missed someting? Anyone with the same problem?
Greetings,
Yves