JAAS Liferay 集成

发布于 2024-12-27 16:00:06 字数 2399 浏览 0 评论 0 原文

我使用的是liferay6.0.6。我需要将 liferay 门户与 JAAS 模块集成。我使用 JAAS 创建了自定义模块。

由于某些原因,JAAS 登录模块没有被调用,尽管我做了 liferay wiki 中提到的所需配置(http://www.liferay.com/community/wiki/-/wiki/Main/Configuring+JAAS+with+OpenLDAP/maximized)。

请提供任何进行集成的指示。

这是启动日志:

Jan 9, 2012 10:25:46 AM org.apache.catalina.core.AprLifecycleListener init
INFO: The APR based Apache Tomcat Native library which allows optimal performance in producti
on environments was not found on the java.library.path: C:\liferay-portal-6.0.6\tomcat-6.0.29
\jre1.6.0_20\win\bin;.;C:\Windows\Sun\Java\bin;C:\Windows\system32;C:\Windows;C:\Windows\syst
em32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Progr
am Files\CREDANT\Shield v6.8\;C:\Program Files (x86)\SSH Communications Security\SSH Tectia\S
SH Tectia AUX;C:\Program Files (x86)\SSH Communications Security\SSH Tectia\SSH Tectia AUX\Su
pport binaries;C:\Program Files (x86)\SSH Communications Security\SSH Tectia\SSH Tectia Broke
r;C:\Program Files (x86)\SSH Communications Security\SSH Tectia\SSH Tectia Client;C:\Program
Files\Java\jdk1.6.0_25\bin;C:\Softwares\ant\bin;C:\Program Files (x86)\QuickTime\QTSystem\;C:
\Program Files\TortoiseSVN\bin
Jan 9, 2012 10:25:47 AM org.apache.coyote.http11.Http11Protocol init
INFO: Initializing Coyote HTTP/1.1 on http-8080
Jan 9, 2012 10:25:47 AM org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 1272 ms
Jan 9, 2012 10:25:47 AM org.apache.catalina.core.StandardService start
INFO: Starting service Catalina
Jan 9, 2012 10:25:47 AM org.apache.catalina.core.StandardEngine start
INFO: Starting Servlet Engine: Apache Tomcat/6.0.29
Jan 9, 2012 10:25:47 AM org.apache.catalina.startup.HostConfig deployDescriptor
INFO: Deploying configuration descriptor ROOT.xml
Jan 9, 2012 10:25:47 AM org.apache.catalina.realm.JAASRealm setUseContextClassLoader
INFO: Setting useContextClassLoader = false
Loading jar:file:/C:/liferay-portal-6.0.6/tomcat-6.0.29/webapps/ROOT/WEB-INF/lib/portal-impl.jar!/system.properties
Loading jar:file:/C:/liferay-portal-6.0.6/tomcat-6.0.29/webapps/ROOT/WEB-INF/lib/portal-impl.jar!/portal.properties
Loading file:/C:/liferay-portal-6.0.6/tomcat-6.0.29/webapps/ROOT/WEB-INF/classes/portal-ext.properties

I am using liferay6.0.6. I need to integrate liferay portal with JAAS module. I have created customized module using JAAS.

Due to some reason the JAAS login module is not getting invoked though I did required configurations mentioned liferay wiki (http://www.liferay.com/community/wiki/-/wiki/Main/Configuring+JAAS+with+OpenLDAP/maximized).

Could please provide any pointers to do the integration.

This is the startup log:

Jan 9, 2012 10:25:46 AM org.apache.catalina.core.AprLifecycleListener init
INFO: The APR based Apache Tomcat Native library which allows optimal performance in producti
on environments was not found on the java.library.path: C:\liferay-portal-6.0.6\tomcat-6.0.29
\jre1.6.0_20\win\bin;.;C:\Windows\Sun\Java\bin;C:\Windows\system32;C:\Windows;C:\Windows\syst
em32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Progr
am Files\CREDANT\Shield v6.8\;C:\Program Files (x86)\SSH Communications Security\SSH Tectia\S
SH Tectia AUX;C:\Program Files (x86)\SSH Communications Security\SSH Tectia\SSH Tectia AUX\Su
pport binaries;C:\Program Files (x86)\SSH Communications Security\SSH Tectia\SSH Tectia Broke
r;C:\Program Files (x86)\SSH Communications Security\SSH Tectia\SSH Tectia Client;C:\Program
Files\Java\jdk1.6.0_25\bin;C:\Softwares\ant\bin;C:\Program Files (x86)\QuickTime\QTSystem\;C:
\Program Files\TortoiseSVN\bin
Jan 9, 2012 10:25:47 AM org.apache.coyote.http11.Http11Protocol init
INFO: Initializing Coyote HTTP/1.1 on http-8080
Jan 9, 2012 10:25:47 AM org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 1272 ms
Jan 9, 2012 10:25:47 AM org.apache.catalina.core.StandardService start
INFO: Starting service Catalina
Jan 9, 2012 10:25:47 AM org.apache.catalina.core.StandardEngine start
INFO: Starting Servlet Engine: Apache Tomcat/6.0.29
Jan 9, 2012 10:25:47 AM org.apache.catalina.startup.HostConfig deployDescriptor
INFO: Deploying configuration descriptor ROOT.xml
Jan 9, 2012 10:25:47 AM org.apache.catalina.realm.JAASRealm setUseContextClassLoader
INFO: Setting useContextClassLoader = false
Loading jar:file:/C:/liferay-portal-6.0.6/tomcat-6.0.29/webapps/ROOT/WEB-INF/lib/portal-impl.jar!/system.properties
Loading jar:file:/C:/liferay-portal-6.0.6/tomcat-6.0.29/webapps/ROOT/WEB-INF/lib/portal-impl.jar!/portal.properties
Loading file:/C:/liferay-portal-6.0.6/tomcat-6.0.29/webapps/ROOT/WEB-INF/classes/portal-ext.properties

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

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

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。
列表为空,暂无数据
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文