我是opensso(openam)的新手。我想使用SSO保护我在tomcat中部署的web应用程序。我有基本的问题需要澄清。
我已阅读了该文件,但我无法理解它。
提前致谢。等待你的重播..
詹姆斯
答案 0 :(得分:1)
您需要先安装OpenSSO(现在的OpenAM)服务器。这包括安装Tomcat,如果尚未安装它。这是install OpenAM on Ubuntu的一个很好的指南。安装非常简单,只需下载正确的openam.war
文件并将其复制到Tomcat webapps目录即可。 GUI Configurator将指导您完成剩余的基本配置过程。
然后,您需要J2EE应用程序的J2EE Policy Agent,或者普通Web服务器的Web Policy Agent或不同语言的Web应用程序(Web代理保护Web和代理服务器上的资源,而J2EE代理保护应用程序上的资源)和门户服务器,请参阅here)。 ForgeRock提供了install a Web Policy Agent for Apache的指南。每个Apache实例都需要一个Web Policy Agent,因为它们是作为Apache模块实现的。
答案 1 :(得分:0)
我建议您尝试http://blogs.oracle.com/jespraha/entry/opensso_on_tomcat_5_5x上的步骤并回过头来解决任何具体问题
Tomcat 5.5x & 6.0x
-----------------
These are the steps we used to successfully install OpenSSO b3 on Tomcat 5.5x & 6.0x. It should be the same for b4.
- extract Tomcat package
- copy webservices-api.jar from http://download.java.net/general/opensso/extlib/latest/opensso-sun-extlib.zip to /common/endorsed (in version 6, you have to create these two directories)
- edit /bin/catalina.sh
add -Xms256m -Xmx1024m to the start command (find sth like "elif [ "$1" = "start" ] ; then")
Note: there are 2 parts, one with -security switch, the second without it, edit the second one
- restart server
(/bin/shutdown.sh, /bin/startup.sh)
- copy opensso.war to /webapps
- restart server
- run configurator (host:port/opensso)
- restart server
<script type="text/javascript"> var sc_project=3055623; var sc_invisible=0; var sc_partition=33; var sc_security="2841646f"; </script> <script type="text/javascript" src="http://www.statcounter.com/counter/counter_xhtml.js"></script>