如何针对 Liferay 门户数据库进行 servlet 身份验证?
目前,我们有一个 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 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
具体查看
com.liferay.portal.servlet.filters.autologin.AutoLoginFilter
的getLoginRemoteUser
方法。另请查看 com.liferay.portal.security.auth 包中的类。
Take a look at
com.liferay.portal.servlet.filters.autologin.AutoLoginFilter
specifically atgetLoginRemoteUser
method.Also take a look at classes in
com.liferay.portal.security.auth
package.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.