将 Alfresco Flexspaces 与 JBOSS 门户集成
我们正在开发 JBoss 门户。作为功能的一部分,我们需要使用 portlet 将其与 Alfresco 集成。两者(portal和Alfresco)都会连接到同一个LDAP目录来获取用户,以保证相同的用户可以访问两个系统。目前,部分实现尚未完成,因此我们在两者上创建了相同的用户/密码。
为了呈现 Alfresco 的内容,我们使用 Flexspaces portlet。当加载包含 portlet 的页面时,会出现一个窗口,要求输入 Alfresco 上的登录名/密码。登录后,浏览器会跟踪会话。 然后,当用户从门户注销时,我们会遇到问题,因为 portlet 出现了一些问题,例如要求登录(不是在 Flex 上,而是在老式 javascript 方式上),但不接受登录,并显示错误 ?
由于门户知道需要在 Alfresco 系统上登录(以及何时注销)的用户,那么进行此集成的最简单方法是什么 我们如何与 Flex 通信以从门户登录和注销?
另外,我们有兴趣了解如何从门户到 Flex 进行通信,不仅是为了解决这个问题,也是为了进一步的开发。
We're working on a development of a JBoss portal. As part of the functionality, we need to integrate it with Alfresco, using a portlet. Both (portal and Alfresco) will connect to the same LDAP directory to get the users, to guarantee that the same users can access to both systems. Right now that part of the implementation is not completed, so we have created the same users/password on both.
To present the content of Alfresco, we're using a Flexspaces portlet. When the page containing the portlet is loaded, a window appears requesting the login/password on Alfresco. After the login, the browser keeps track of the session.
Then, when the users logs out from the portal, we're experiencing problems, as the portlet is having some problems, like asking login (not on Flex, but on old-fashion javascript way), but not accepting it, and showing errors of "invalid Ticket"
As the portal knows the user that needs to be logged (and when it logs out) on the Alfresco system, what would it be the easiest way to make this integration? How can we communicate to the Flex to make login and logout from the portal?
Also, we're interested in knowing how to communicate from the portal to the flex, not just for this problem, but for further development.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我在 alfresco forge 的 FlexSpaces 论坛上发起了一个主题来帮助您解决此问题:
http://forge.alfresco.com/forum/forum.php?thread_id=1202&forum_id=534
I started a topic on the FlexSpaces forum on the alfresco forge to help you with this:
http://forge.alfresco.com/forum/forum.php?thread_id=1202&forum_id=534