IBM Portal 数据库和身份验证

发布于 2024-11-19 15:49:03 字数 372 浏览 7 评论 0原文

我有几个关于 IBM Portal Portlet 的问题。

我刚刚进入 Portlet 领域 - 就我而言,我已经陷入了深渊。必须使用 IBM WebSphere Portal 6.1

我们仍处于评估阶段 - 对于三件事我还无法找到明确的答案。

  1. 数据库 - 是否有一个数据库也可供已安装的 Portlet 使用 - 或者您是否在每个 Portlet 的基础上单独配置数据库?

  2. 授权和验证 - Portlet 如何获取用户和用户拥有的权利?

  3. 使用符合 JSR-301 的 JSF 桥而不是 bog 标准 Portlet 是否有任何已知的限制?

提前致谢。

I have a couple of questions regarding IBM Portal Portlets.

I have just stumbled into the realm of Portlets - and as far as I am concerned was dropped into the deep end. Having to work on a IBM WebSphere Portal 6.1

We are still in the evaluation stage - and three things that I haven't been able to find clear answers to yet.

  1. Database - is there one single Database that also gets used by the installed Portlets - or do you configure DB individually on a per Portlet Basis?

  2. Authorization and Authentication - how can a Portlet get hold of the User and the rights the user has?

  3. Are there any known constraints in using JSR-301 compliant JSF Bridges instead of bog standard Portlets?

Thanks in advanced.

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

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

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

时光倒影 2024-11-26 15:49:03

我还没有使用过 Portal 7,但我几乎用过所有其他版本,所以如果您使用的是 7 并且此信息不完全适合,我深表歉意。

1) 数据库:当您安装门户时,您配置一个数据库,用于存储门户配置(有时还配置用户权限,尽管这方面可以使用 LDAP 等自定义用户注册表进行设置)。如果您还没有专用的数据库,Portal 将使用其打包的数据库 Cloudscape/Derby。该数据库可以与 portlet 用于操作与配置无关的数据的数据库完全分开。例如,如果您的 portlet 显示自行车店的库存,则可以通过 WAS GUI 中设置的数据源以正常的 Web 应用程序方式访问保存该信息的数据库。

2) 对于很多情况,您的 portlet 不需要知道用户的权限,除非通过门户管理为用户分配了正确的权限,否则它不会呈现 portlet。但在您需要了解用户权限的情况下,可以通过门户用户管理架构来访问它们。这是关于该主题的一个很好的白皮书: http://public.dhe.ibm .com/software/dw/websphere/PUMA_scenarios.pdf

3) 已知的限制?您可能需要专门通过 google 进行搜索,但我要说的是,除非您使用 IBM 的定制 JSF 桥,否则如果您遇到问题,IBM 的技术问题团队可能不会提供大量支持。然而,我发现支持人员通常非常有帮助。但不要因此而阻止您尝试:)

我使用得非常详尽的两个资源是 InfoCenter http://publib.boulder.ibm.com/infocenter/wpdoc/v6r1/index.jsp 以及 IBM Developerworks 上的开发人员论坛。

祝你好运,欢迎来到黑暗面!

I haven't used Portal 7 yet, but I have used pretty much every other version, so my apologies if you are using 7 and this information doesn't fit exactly.

1) Database: when you install portal, you configure a database it uses to store portal configuration (and sometimes user rights as well, although this aspect can be set up using a custom user registry like LDAP). If you don't have an already dedicated DB, Portal will use its packaged DB, Cloudscape/Derby. This DB can be completely separate from the DB that the portlets use to manipulate data unrelated to configuration. E.g. if your portlet is displaying inventory for a bike shop, the DB holding that info can be accessed in the normal web application way through a datasource set up in the WAS GUI.

2) For a lot of scenarios, your portlet doesn't need to know the user's rights, it won't render the portlet unless the user has been assigned the correct rights via Portal Administration. But in the cases in which you would need to know the user's rights, they can be accessed via the Portal User Management Architecture. Here's a good whitepaper on the subject: http://public.dhe.ibm.com/software/dw/websphere/PUMA_scenarios.pdf

3) Known constraints? You may have to google for that specifically, but I will say that unless you use IBM's custom JSF bridge, there may not be a lot of support from IBM's technical issue team if you come up against a problem. However, the support guys are usually pretty helpful, I find. Don't let that stop you from trying though :)

The two resources that I use pretty exhaustively are the InfoCenter http://publib.boulder.ibm.com/infocenter/wpdoc/v6r1/index.jsp and the developer forums on IBM Developerworks.

Best of luck, and welcome to the dark side!

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文