安裝、授權並配置 ThingWorx Navigate > 在現存 ThingWorx 例證上安裝 ThingWorx Navigate > 配置 ThingWorx Navigate > 透過 Windchill 驗證設定 ThingWorx Navigate > 向 Tomcat 組態新增 Servlet 篩選器
  
向 Tomcat 組態新增 Servlet 篩選器
可使用 Windchill IDP 驗證篩選器,將 ThingWorx 未驗證的使用者重新導向至 Windchill 登入表單進行驗證認證。成功驗證之後,ThingWorx 應用程式會收到金鑰與使用者名稱。
篩選器在位於 ThingWorx Tomcat 安裝目錄之下的 web.xmlThingWorx 端配置。請遵循下列步驟:
1. 停止 Apache Tomcat 與 Integration Runtime。
2. ptc-identity-provider-authentication-filter-{版本}.jarThingWorx-Navigate-Release-<版本>-bundle.zip 中的 idp 資料夾複製到 ThingWorx Tomcat 安裝目錄下的 WEB-INF/lib 目錄中。
3. 轉至 web.xml 檔案,該檔案位於 Tomcat-install\webapps\Thingworx\WEB-INF\web.xml 中。
4. Tomcat-install\webapps\Thingworx\WEB-INF 建立 web.xml 檔案之副本並將其儲存在其他位置。
5. ThingWorx-Navigate-Release-<版本>-bundle\idp\twx-8.5.x 中的 web.xml 取代 Tomcat-install\webapps\Thingworx\WEB-INF 中的 web.xml
6. 開啟 web.xml,然後在篩選器 (IdentityProviderAuthenticationFilterIdentityProviderKeyValidationFilter) 中新增 [http or https]://[windchill-host]:[windchill-port]/windchill-web-app] 中的 Windchill Server 詳細資訊。
7. 啟動 Tomcat 與 Integration Runtime。
* 
Windchillweb.xml 中定義 authparam 值之後 ,現成的值不再有效。欲擷取正確的資料,請變更 ptc-windchill-integration-connector-proxySession User Query Parameter 的值。