开始之前
本教程将逐步演示如何配置 WS-Security,以便一个 JAX-RPC web 服务在一个 WebSphere 单元中的 WebSphere Process Server V7 中运行,一个 JSP 客户端在另一个 WebSphere 单元中运行。本教程还将描述跨两个 WebSphere 单元进行单点登录所需的所有步骤。
尽管 WS-Security 可以处理消息级身份验证、机密性和完整性,但本教程中的 WS-Security 的范围仅限于通过 Lightweight Third Party Authentication (LTPA) 令牌传播凭据。在 WS-Security 信封中传播凭据的其他方式在 WebSphere Application Server 中受到支持。
本教程的目标是帮助 WebSphere 用户轻松配置 WS-Security,以便一个 JSP 客户端在一个 WebSphere 单元中运行,且一个 JAX-RPC web 服务在一个 WebSphere Process Server 单元中运行。
为跟随本教程中的步骤,您需要使用 WebSphere Integration Developer V7 来配置 JSP 客户端和 JAX-RPC web 服务的 WS-Security。WebSphere Integration Developer 附带的 WebSphere Process Server 测试环境足以用于运行这个测试,但是您需要另外创建一个 WebSphere 单元,以便 JSP 客户通过 LTPA 使用单点登录功能。
- WebSphere Integration Developer V7
- 附带 WebSphere Integration Developer 的 WebSphere Process Server 测试环境
- 另一个 WebSphere 单元
两小时
可以从 “下载” 部分下载以下项目交换文件: