缺省情况下,应用程序服务器需要使用 HTTPS(安全超文本传输协议)访问。如果想要某些用户能够登录并使用对传输的数据(包括用户标识和密码)不加密的控制台,请将环境配置为支持 HTTP 和 HTTPS 方式。
开始之前
安装
Tivoli Integrated Product 之后并且在开始此过程前,请登录到
管理控制台以确保它已连接且可以成功启动。
关于此任务
配置 HTTP 和 HTTPS 控制台访问包括编辑 Web 组件的
web.xml 文件。使用此过程可标识和编辑相应的 Web XML 文件。
过程
- 切换到以下目录:install_dir/profiles/TIPProfile/config/cells/TIPCell/applications。
- 从此位置,在以下目录中查找 web.xml 文件:
- 对于 Integrated Solutions Console Web 应用程序归档:isclite.ear/deployments/isclite/isclite.war/WEB-INF
- 对于 Tivoli Common Reporting:tcr.ear/deployments/tcr/rptviewer_v1.2.0.war/WEB-INF
- 对于 Tivoli Common Reporting Web 应用程序归档:isclite.ear/deployments/isclite/rptwebui_v1.2.0.war/WEB-INF
- 对于 Tivoli Integrated Portal 图表 Web 应用程序归档:isclite.ear/deployments/isclite/TIPChartPortlet.war/WEB-INF
- 对于 Tivoli Integrated Portal 更改密码 Web 应用程序归档:isclite.ear/deployments/isclite/TIPChangePasswd.war/WEB-INF
- 使用文本编辑器打开某个 web.xml 文件。
- 找到 <transport-guarantee> 元素。 所有 <transport-guarantee> 元素的初始值都是 CONFIDENTIAL,这意味着始终需要安全访问。
- 将设置更改为 NONE 以启用 HTTP 和 HTTPS 请求。 元素现在读作:<transport-guarantee>NONE</transport-guarantee>。
- 保存文件,然后对其他 web.xml 部署文件重复上述这些步骤。
- 停止并重新启动应用程序服务器。
示例
以下示例是
TIPChangePasswd 的
web.xml 文件的一部分,其中将 transport-guarantee 参数设置为
NONE:
<security-constraint>
<display-name>
ChangePasswdControllerServletConstraint</display-name>
<web-resource-collection>
<web-resource-name>ChangePasswdControllerServlet</web-resource-name>
<url-pattern>/*</url-pattern>
</web-resource-collection>
<auth-constraint>
<description>Roles</description>
<role-name>administrator</role-name>
<role-name>operator</role-name>
<role-name>configurator</role-name>
<role-name>monitor</role-name>
<role-name>iscadmins</role-name>
</auth-constraint>
<user-data-constraint>
<transport-guarantee>NONE</transport-guarantee>
</user-data-constraint>
</security-constraint>
下一步做什么
用户现在必须指定不同的端口,具体取决于访问的方式。缺省端口号如下所示:
- http://<host_name>:16315/ibm/console
- 使用 HTTP 端口以登录到 HTTP 端口上的 Tivoli Integrated Portal。
- http://<host_name>:16310/ibm/console
- 使用 HTTPS 安全端口登录到 Tivoli Integrated Portal。输入重定向器端口号,该端口号将把请求重新定向到 https://<host_name>:16316/ibm/console
注: 如果想要使用单点登录(SSO),那么必须使用 Tivoli Integrated Portal 主机的标准域名。