与 Liferay 同步的广告 [英] AD sync with Liferay

查看:42
本文介绍了与 Liferay 同步的广告的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我们在 Liferay 上托管了一个门户网站,并且 Active Directory 通过 LDAP 与 Liferay 同步.我们面临的问题是,当用户从 AD 中删除时,它既不会被停用也不会从 Liferay 中删除.我希望用户在从 AD 中删除时被停用而不是从 Liferay 中删除.

We have a portal hosted at our side on Liferay and a Active Directory is in sync through LDAP with Liferay. The problem which we are facing is that when the user gets deleted from the AD it neither gets deactivated nor deleted from Liferay. I want the user to be deactivated not deleted from Liferay when deleted from the AD.

尽管 Liferay 强烈建议您在从 AD 中删除用户时停用/删除该用户,因为这可能会导致对其他用户、站点或组织的依赖或可能导致的意外行为.

Although Liferay strongly discourages to deactivate/delete the user when the user is deleted from the AD as there may be dependencies on other user, sites or organisations or unexpected behavior which may be caused.

我检查了 AD 与 Liferay 同步所需的所有必填字段.由于声誉较低,我无法上传屏幕截图.

I checked all the required fields which are necessary for AD synchronization with Liferay. I am unable to upload the screenshot due to less reputation.

我怎样才能达到上述要求?

How can I achieve the aforementioned requirement?

请提出可能的方法.

谢谢

推荐答案

为了自定义Liferay的这种默认行为,您需要通过扩展PortalLDAPImporterImpl.java来创建一个插件ext.

In order to customize such default behavior of Liferay, you need to create a plugin ext by extending PortalLDAPImporterImpl.java.

以下链接将帮助您 -http://www.liferay.com/community/forums/-/message_boards/message/10755176

这篇关于与 Liferay 同步的广告的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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