Sun Java System Communications Express 6.3 管理指南

Procedure在不同的 Web 容器实例中部署 Access Manager 和 Communications Express

  1. 转到 IS-INSTALL-DIR/bin 目录。

  2. 复制 Access Manager 的 IS-INSTALL-DIR/bin/amsamplesilent 文件。

    $ cp amsamplesilent amsamplesilent.uwc

  3. 编辑在上一步骤中创建的 amsamplesilent 副本。

    按照下面步骤中所述部署详细信息对参数进行相应设置。

    如果要在 Web 容器(如 Sun Java Web Server 或 Sun Java System Application Server)中部署 Access Manager SDK,请将 DEPLOY_LEVEL 设置为值 4,即选择选项“仅安装 SDK 并配置容器”。

  4. AM_ENC_PWD 设置为安装 Access Manager 期间使用的密码加密键值。

    加密键存储在以下文件的参数 am.encryption.pwd 中:

    IS-INSTALL-DIR/lib/AMConfig.properties

  5. NEW_INSTANCE 设置为 true

  6. 如果要在 Sun Java System Web Server 中部署 Access Manager SDK,请将 WEB_CONTAINER 设置为 WS6

    如果要在 Sun Java System Application Server 中部署 Access Manager SDK,请将 WEB_CONTAINER 设置为 AS7AS8

    有关 amsamplesilent 文件中的其他参数的更多详细说明,以及如何配置 Access Manager Remote SDK 参数的说明,请参阅《Sun Java System Identity Server Administration Guide》中的第 1 章 "Identity Server 2004Q2 Configuration Scripts"。

  7. 在 Web 容器中配置 Access Manager SDK。

    确保 Access Manager 使用的 Directory Server 正在运行。

  8. 启动在其中部署 Access Manager SDK 的 Web 容器实例。

  9. 转到 IS-INSTALL-DIR/bin 目录。

  10. 键入以下命令:

    ./amconfig -s amsamplesilent.uwc

    重新启动 Web 容器实例以使配置生效。

    在不同 Web 容器实例中以 SSL 模式和非 SSL 模式部署的 Access Manager 和 Communications Express 此时可以使用 Access Manager 的单点登录机制来获取有效的用户会话。

    有关在部署 Communications Express 后启用或禁用 Access Manager 的说明,请参阅压缩 Communications Express 的服务器响应