使用Active Directory与OpenAM进行Liferay集成 [英] Liferay Integration with OpenAM using Active Directory

查看:62
本文介绍了使用Active Directory与OpenAM进行Liferay集成的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用Active Directory作为LDAP服务器使用Open AM配置Liferay.我面临的问题是,如果我将OpenAM配置为使用AD进行身份验证,则在Liferay中会收到以下错误-

I am configuring Liferay with Open AM using Active Directory as the LDAP Server. The problem I am facing is if i configure OpenAM to authenticate using AD I get the following error in Liferay -

07:52:17,962 DEBUG [http-bio-8080-exec-15][OpenSSOUtil:146] Attributes response code 500
07:52:17,962 DEBUG [http-bio-8080-exec-15][OpenSSOAutoLogin:132] Validating user information for null null with screen name null and email address null
07:52:17,962 ERROR [http-bio-8080-exec-15][AutoLoginFilter:261] Current URL /web/guest/home?p_p_state=maximized&p_p_mode=view&saveLastPath=false&_58_struts_action=%2Flogin%2Flogin&p_p_id=58&p_p_lifecycle=0&_58_redirect=%2Fc generates exception: com.liferay.portal.security.auth.AutoLoginException: java.lang.Exception: Email address is null

在OpenAM方面,没有错误.

On OpenAM side there is no error.

我遵循的步骤是-

  1. 在Liferay中配置AD并启用它
  2. 通过portal-ext文件在Liferay中配置SSO
  3. 在OpenAM中启用了通过身份验证.

我在OpenAM日志中没有看到任何错误.我看到的唯一问题是在Liferay日志中.

I dont see any errors in OpenAM logs. The only issue I see is in Liferay logs.

以下作品-

  1. Liferay + AD
  2. 使用OpenDJ的Liferay + OpenAM

让我知道是否有人知道可以解决此问题的方法.

Let me know if anyone knows what can be done to fix the issue.

推荐答案

显示的错误是接缝的错误,表明openAM服务器数据与liferay之间的映射不正确.在门户中查看属性"open.sso.screen.name.attr"和类似内容.

The error you show seam to indicate that the mappping between your openAM server data and the liferay one isn't correct. Look at the properties "open.sso.screen.name.attr" and similar from your portal.

还请记住,您需要在liferay服务器上激活ldap同步,以便创建用户,Liferay可以将其与openAM数据进行匹配.

Also keep in mind that you need to activate the ldap sync on your liferay server so the User are created and Liferay can match it with openAM data.

这篇关于使用Active Directory与OpenAM进行Liferay集成的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆