配置 ClearQuest® Web 用戶端的儲存器鑑別。
關於這項作業
這個主題的路徑名稱使用下列變數:
- WAS-home
- WebSphere Application Server 的安裝目錄
- cqweb_profile
- Rational ClearQuest Web 設定檔的名稱
程序
- 編輯 ClearQuest Web 伺服器儲存器鑑別內容檔 sso.properties,該檔案位於下列目錄中:
- 在 Windows 上:
- WAS-home\profiles\cqweb_profile\installedApps\dfltCell\TeamEAR.ear\cqweb.war\WEB-INF\classes\sso.properties
- 在 UNIX 系統和 Linux 上:
- WAS-home/profiles/cqweb_profile/installedApps/dfltCell/TeamEAR.ear/cqweb.war/WEB-INF/classes/sso.properties
註: 如果 ClearQuest 安裝在 Solaris 平台上,則預設 WebSphere Application Server Cell 目錄是 <srv>Node01Cell。請使用此值來取代 dfltCell,此為 Windows、UNIX 系統及 Linux 平台上的預設目錄。
- 將 SSO_CLIENT_ENABLE 設定變更為 true:
SSO_CLIENT_ENABLE=true
- 複製您在前一主題配置 CM Server 的儲存器鑑別中建立的加密密碼,然後將該密碼貼上作為 SSO_CLIENT_PASSWORD 的值:
SSO_CLIENT_PASSWORD=password_generated_by_running_cqrpc
例如:
SSO_CLIENT_PASSWORD=FIPS955f13dbb44386be99d855ae73081e26cd4c03017793936fc746bfc12b03caaa5a1057d415b9ef51f501e8938c9456da1ca4bd1888921e64c29d2cb6ea619f1fb3d07b8b2b6de4030fe0f00a11f39d7c2a4b0766355f81dabb1eba7ba285e8fa50951b9df5a887b2c2e1fdfb5bc2d27ab20ba8cc6c2e8e0964559f72635788783896ca178d2b314934fe316efa34a2025ab84fc3c1b8bdb3ce0cabbddccab224258024bb5defda026c85e5d5e743eff4
- 將 SSO_LOGIN_MODE 設定變更為 REQUEST:
SSO_LOGIN_MODE=REQUEST
此設定可以讓 ClearQuest Web 用戶端尋找 WebSphere® Application Server 鑑別過的使用者名稱。
- 儲存修改過的 sso.properties 檔案:
- 切換至更新的 sso.properties 檔案所在的工作目錄。
- 在命令提示字元視窗中,啟動 WebSphere Application Server wsadmin 公用程式:
- 在 Windows 上:
- "WAS-home\profiles\cqweb_profile\bin\wsadmin"
- 在 UNIX 系統和 Linux 上:
- WAS-home/profiles/cqweb_profile/bin/wsadmin
- 執行下列指令:
wsadmin> $AdminApp update TeamEAR file {-operation update -contents updated_sso.properties -contenturi cqweb.war/WEB-INF/classes/sso.properties}
wsadmin> $AdminConfig save
wsadmin> exit
- 重新啟動 WebSphere Application Server,以啟動 sso.properties 檔案的變更。