繁体   English   中英

使用Liferay根据LDAP中的用户配置文件将用户添加到用户组

[英]adding user to user groups based on user profile in LDAP using Liferay

我想根据使用Liferay框架从LDAP获得的用户个人资料,将用户添加到在liferay中创建的组中。

例如 :

  If userX logging into liferay and if abc attribute set to Y i need to add him to UserGroup abc created in Liferay.

  If userY logged into liferay and if pqr attribute set to Y i need to add him to UserGroup pqr created in Liferay.

  to implement this feature what changes i need to do in liferay (i am using liferay 6.0.5) ? 

请提及您目前正在使用哪个liferay框架!

据我所知,尝试在Liferay 6.0.5中进行LDAP集成。 通过LDAP将用户/组导入Liferay,反之亦然。

LDAP导入/导出不是Lifeary中的标准扩展点。 假设Liferay 6+可以在Hook插件中扩展特定服务,但是您的情况听起来像我们最近的问题,因此您可能需要创建EXT插件并覆盖com.liferay.portal.security.ldap.PortalLDAPImporterImpl导入过程中具有自定义行为的类。

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM