如何针对 Liferay 门户数据库进行 servlet 身份验证?

发布于 2024-12-13 16:17:16 字数 335 浏览 4 评论 0原文

目前,我们有一个 servlet 应用程序正在针对 Jboss 门户进行身份验证。但是现在我们被迫从 Jboss 门户迁移到 Liferay 门户,我们需要找到从我的 servlet 应用程序针对 Liferay 门户数据库进行身份验证的方法。目前在我的servlet 应用程序,我使用 webauthentication 类对 Jboss 门户进行身份验证。但是在 liferay 中我没有找到任何负责进行 servlet 身份验证的自定义类。那么我需要编写自定义登录模块吗?如果您对 servlet Liferay 身份验证有任何想法/参考,请与我分享

任何帮助,我们将不胜感激。

问候,

Suresh

Currently we are having a servlet application which is getting authenticated against the Jboss portal.But now we are forced to move to Liferay portal from Jboss portal, we need to find the way to authenticate against Liferay portal Database from my servlet application.Currently in my servlet application , I am using webauthentication class to authenticate against Jboss portal.But in liferay I am not finding any custom class which is responsible for doing the servlet authentication. So do I need to write my custom login module ? Anybody please share me if u have any idea/reference on servlet Liferay authentication

Any help is appreciated..

Regards,

Suresh

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

╰つ倒转 2024-12-20 16:17:16

具体查看 com.liferay.portal.servlet.filters.autologin.AutoLoginFiltergetLoginRemoteUser 方法。

另请查看 com.liferay.portal.security.auth 包中的类。

Take a look at com.liferay.portal.servlet.filters.autologin.AutoLoginFilter specifically at getLoginRemoteUser method.

Also take a look at classes in com.liferay.portal.security.auth package.

岁月蹉跎了容颜 2024-12-20 16:17:16

Liferay 有一个 虚拟 LDAP 插件,通过LDAP 协议。注意:它似乎只是“企业版”。

There's a virtual LDAP plugin for Liferay, offering the Liferay user database through the LDAP protocol. Caveat: It seems to be "enterprise edition" only.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文