如果您打算在 SSO 環境中使用 Workplace XT,必須編輯 web.xml 檔,以建立適當的設定。
IBM® Tivoli® Access Manager 環境中的 SSO,可能需要進行其他的配置。如需詳細資料,請參閱您的 IBM 產品說明文件。
如果要針對 SSO 編輯 web.xml,請執行下列動作:
檔案位於下列路徑:install_path/IBM/FileNet/WebClient/WorkplaceXT/WEB-INF/web.xml
<init-param>
<param-name>perimeterChallengeMode</param-name>
<param-value>true</param-value>
</init-param>
<init-param>
<param-name>ssoProxyContextPath</param-name>
<param-value></param-value>
</init-param>
<init-param>
<param-name>ssoProxyHost</param-name>
<param-value></param-value>
</init-param>
<init-param>
<param-name>ssoProxyPort</param-name>
<param-value></param-value>
</init-param>
<init-param>
<param-name>ssoProxySSLPort</param-name>
<param-value></param-value>
</init-param>
http://deploy_server:7001/WorkplaceXT
SSO Proxy 主機 URL 是
http://sso_proxy_server.domain.com/WorkplaceXT
請使用下列值:<param-name>ssoProxyContextPath</param-name>
<param-value></param-value>
http://deploy_server/WorkplaceXT
對應的 SSO Proxy 主機 URL 是http://sso_proxy_server/WorkplaceXT
請使用下列值:<param-name> ssoProxyHost </param-name>
<param-value>sso_proxy_server</param-value>
<param-name>ssoProxyPort</param-name>
<param-value>80</param-value>
<param-name>ssoProxySSLPort</param-name>
ram-value>443</param-value>
/integrationCommand*
/transport*
/bootstraptransport
如下列排除清單範例所示:
<filter>
<filter-name>AE PreprocessorFilter</filter-name>
<filter-class>
com.filenet.ae.toolkit.server.servlet.filter.PreprocessorFilter
</filter-class>
<init-param>
<param-name>challenge</param-name>
<param-value>false</param-value>
</init-param>
<init-param>
<param-name>exclude</param-name>
<param-value>
/css/*,
/download/*,
/FnJavaV1Files/*,
/images/*,
/js/*,
/scripts/*,
/Samples*,
/Source*,
/UI-INF/*,
/integrationCommand*,
/integrationResponse*,
/transport*,
/ContainerError.jsp,
/ContainerLogin.jsp,
/ContainerSignout.jsp,
/ServerErrorDisplay.jsp,
/containerSecured/*,
/WcmError.jsp,
/WcmSignIn.jsp,
/GetUserToken.jsp,
/GetTokenSignIn.jsp,
/GetUserInformation.jsp,
/axis,
/axis/services/*,
/servlet/AdminServlet,
/setCredentials,
/SOAPMonitor,
/webdav*,
/P8BPMWSBroker/*,
*j_security_check*,
/bootstraptransport,
/pingSession,
/unitTests*,
/NoContent.jsf,
/ServerErrorDisplay.jsf,
/LoadJSResources.jsf,
/SessionError.jsf
</param-value>
</init-param>
</filter>
<url-pattern>/integrationCommand</url-pattern>
<url-pattern>/transport</url-pattern>
<url-pattern>/bootstraptransport</url-pattern>
<url-pattern>/getContent</url-pattern>
如下列範例所示:
<security-constraint>
<web-resource-collection>
<web-resource-name>action</web-resource-name>
<description>Define the container secured resource</description>
<url-pattern>/containerSecured/*</url-pattern>
<url-pattern>/integrationCommand</url-pattern>
<url-pattern>/transport</url-pattern>
<url-pattern>/bootstraptransport</url-pattern>
<url-pattern>/getContent</url-pattern>
</web-resource-collection> <auth-constraint>
<role-name>*</role-name>
</auth-constraint> <user-data-constraint>
<description>User data constraints</description>
<transport-guarantee>NONE</transport-guarantee>
</user-data-constraint>
</security-constraint>