生成 LTPA 令牌?

发布于 2024-09-02 15:41:15 字数 264 浏览 5 评论 0原文

We have a need to integrate a server with our WebSphere environment that does not support LTPA. I found Working with Lightweight Third Party Authentication (LTPA) by Cosmin Stejerean and corresponding code to decode the information in an LTPA token. However, there's no code explaining the digital signature and how that's generated/validated. Does anyone have any information on how to generate an LTPA token in custom code?

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

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

发布评论

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

评论(4

红颜悴 2024-09-09 15:41:15

您需要指定您想要集成的方式和内容?

LTPA 是 WebSphere 和其他 IBM 产品(例如 Lotus 产品)用作身份验证手段(通常用于 SSO 上的单点登录)的机制。

如果 WebSphere App Server(作为示例)对用户进行身份验证,并且请求说发送到Lotus 产品(属于同一域的一部分),Lotus 产品通过 WAS 生成的 LTPA 令牌来识别用户。

这同样适用于多个 WebSphere 产品。

LTPA 没有可供用户使用的公共 API,它旨在供各种 IBM 产品使用。

华泰
曼鲁

You would need to specify how and what you want to integrate?

LTPA is a mechanism used by WebSphere and other IBM products (e.g lotus products) as a means of authentication (typically for a Single Sign on SSO)

If a WebSphere App Server (as an example) authenticates a user and the request say goes to a lotus product (which is part of the same domain), the lotus product identifies the user via the LTPA token which was generated by WAS.

The same applies to multiple WebSphere products too.

There are no public APIs for LTPA for users to work with and it is meant to be used by various IBM products.

HTH
Manglu

一抹淡然 2024-09-09 15:41:15

我同意 Gary 的观点,即您可以选择不同的令牌来使用 WebSphere。您不必使用 LTPA。

但话虽如此......我有一个 我自己想出的问题和解答使用 IBM 工具与安全性进行通信。我们的视角是 Web 服务(特别是 JAX-WS),但我确信其中的一些原则仍然适用。在那篇文章中,我主要依赖于以下 developerworks 文章。

另外...不确定您是否可以考虑这一点,但有些产品可以为您进行令牌翻译。我工作的地方是一家 IBM 商店,而且往往会大量出血,所以我只知道 IBM 堆栈(这可能对您使用 WebSphere 有所帮助),但我确信还有其他产品和/或免费/开源项目你可以使用。 IBM 工具的一个示例是 IBM WebSphere DataPower 设备。我相信某些 IBM Tivoli 产品也可以在该领域提供帮助。

另外...根据我使用 LTPA 的经验。如果您不在容器(即 WebSphere 盒子)中运行,IBM 不会让您生成令牌。所以测试变得有点棘手。

我已经给了你一些继续下去的线索。希望其中之一有所帮助。

I agree with Gary that you could choose a different token to work with WebSphere. You don't HAVE to use LTPA.

But that being said....I have a Question and Answer I figured out on my own to communicate with security using IBM tooling. The perspective is web services (specifically JAX-WS) but I'm sure some of the principles carry over. With that post, I mostly relied on the following developerworks article.

Also...not sure if you can consider this, but there are products that do token translation for you. The place I works is an IBM shop and tends to bleed blue pretty heavy, so I only know of the IBM stack (which may help you with WebSphere), but I'm sure there are other products and/or free/open source projects you can use. An example with IBM tooling is the IBM WebSphere DataPower appliance. I believe some of the IBM Tivoli products can help in that area as well.

Also...from my experience with LTPA. IBM does not let you generate the tokens if you are not running in the container (ie, a WebSphere box). So testing gets a bit tricky.

I've given you a couple of leads to go on. Hopefully one of those helps.

沙与沫 2024-09-09 15:41:15

我还没有找到有关生成 LTPA 令牌的文档。也许你可以从这段代码中找出你需要什么, https://github.com/Unicon/ltpa-bridge ,它生成 LTPA 令牌。

I have not found documentation about generating LTPA tokens. Maybe you can figure out what you need from this code, https://github.com/Unicon/ltpa-bridge, which generates LTPA tokens.

春夜浅 2024-09-09 15:41:15

您可以使用配置了 DataPower Gateway 的 IBM API Connect 来根据给定的用户 ID 生成 Ltpa 令牌。

https:// www.ibm.com/support/knowledgecenter/en/SSMNED_5.0.0/com.ibm.apic.toolkit.doc/rapim_ref_ootb_policyltpagen.html

You could use IBM API Connect configured with DataPower Gateway to generate Ltpa tokens, given the userid.

https://www.ibm.com/support/knowledgecenter/en/SSMNED_5.0.0/com.ibm.apic.toolkit.doc/rapim_ref_ootb_policyltpagen.html

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