IBM Enterprise Records, 版本 5.1.+              

(可选)添加 SSL 支持(CMA 使用 SSL 重定向)

如果 IBM® Enterprise Records Web 应用程序自动配置为使用容器管理认证 (CMA) 选项,并且您要对重定向选项使用安全套接字层 (SSL),那么请根据您的应用程序服务器执行以下过程,通过更新 IBM Enterprise Records Web 应用程序的 web.xml 文件来为其启用 SSL。对于完全 SSL 环境,无需执行这些步骤。

  1. WebSphere:修改 ier_install_path/RecordsManager/WEB-INF 目录中的 web.xml 文件:
    1. 备份 web.xml 文件。 缺省文件位置为:
      ier_install_path/RecordsManager/WEB-INF/web.xml
    2. 复制 <security_constraint> 部分(如下一步中所示),并将新复制的部分直接粘贴在原始部分后面。
    3. 按如下所示更改新插入的 <security_constraint> 部分(用粗体显示更改): 将:
      <security-constraint>
        	<web-resource-collection>
            <web-resource-name>action</web-resource-name>
            <description>Define the container secured resource</description>
            <url-pattern>/</url-pattern>
            <url-pattern>/*</url-pattern>
      		</web-resource-collection>
        	<auth-constraint>
            <role-name>All Authenticated</role-name>
        	</auth-constraint>
        	<user-data-constraint>
            <description>User data constraints</description>
            <transport-guarantee>NONE</transport-guarantee>
        	</user-data-constraint>
      </security-constraint>
      更改为:
      <security-constraint>
        <web-resource-collection>
          <web-resource-name>action</web-resource-name>
            <description>Define the container secured resource</description>
            <url-pattern>ContainerLogin.jsp</url-pattern>
        </web-resource-collection>
        <auth-constraint>
            <role-name>All Authenticated</role-name>
        </auth-constraint>
        <user-data-constraint>
            <description>User data constraints</description>
            <transport-guarantee>CONFIDENTIAL</transport-guarantee>
        </user-data-constraint>
      </security-constraint>
      进行此更改还会除去下面这一行的第二次出现:
      <url-pattern>/*</url-pattern>
    4. 保存您对 web.xml 文件所作的更改。
  2. WebLogic 和 JBoss:修改 <ier_install_path>/RecordsManager/WEB-INF 目录中的 web.xml 文件:
    1. 备份 web.xml 文件。 缺省文件位置为:
      ier_install_path/RecordsManager/WEB-INF/web.xml
    2. <security_constraint> 部分中,将参数从以下内容:
      <user-data-constraint>
          <description>User data constraints</description>
          <transport-guarantee>NONE</transport-guarantee>
      </user-data-constraint>
      更改为:
      <user-data-constraint>
          <description>User data constraints</description>
          <transport-guarantee>CONFIDENTIAL</transport-guarantee>
      </user-data-constraint>
    3. 保存您对 web.xml 文件所作的更改。


反馈

最近一次更新时间: 2011 年 8 月


© Copyright IBM Corporation 2011.
本信息中心基于 Eclipse 技术。(http://www.eclipse.org)