Plone and Asp.Net Integration

浪子不回头ぞ 提交于 2019-12-07 06:19:47

问题


How to:

  • Make an Asp.Net application to recognize a plone authenticated user (his/her id, roles and any other available data) and vice-versa?
  • Show plone contents inside my asp.net application or show some application-specific data inside plone?
  • Insert plone contents from inside an asp.net application?

回答1:


There are a couple of high level approaches:

Security:

  • Put a web server in front of both Plone and the ASP.net application and use the auth_tkt cookie format. Apache and nginx support this, for example, and Plone 4 has built-in auth_tkt cookie format support.
  • Use a shared ActiveDirectory/LDAP repository to share account id, roles, etc.

Content:

  • Use something like ore.contentmirror to export content from Plone to a database and render through the ASP.NET application
  • Use a Plone view to render only what you want and either scrape this into the ASP.NET application or use an <iframe /> to render it.
  • Use Diazo (XDV) at the web server level to merge the two applications visually - this will work best if entire areas of the site are to be served by Plone rather than just pulling in some content here and there.


来源:https://stackoverflow.com/questions/2893976/plone-and-asp-net-integration

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!