在 WebSphere® Application Server 上,對 Crystal Reports Server 配置 JAAS。
如果要對 Crystal Reports 伺服器配置 JAAS,請執行下列動作:
- 從下列 Content Engine 伺服器目錄中,將 jaas.conf.WebSphere 檔:
CE_install_path/FileNet/ContentEngine/config/samples
複製到 Crystal Reports 伺服器:
選項 |
敘述 |
WebSphere Application Server |
C:\Program Files\IBM\WebSphere\AppServer\java\jre\lib\security |
WebSphere Application Server Client |
C:\Program Files\IBM\WebSphere\AppClient\java\jre\lib\security |
- 編輯 WebSphere Application Server 或 WebSphere Application Server Client 所附的 java.security 檔案,以指向 jaas.conf.WebSphere 檔。
例如,在 Windows WebSphere Application Server 下,您可以完成下列步驟:
- 開啟下列檔案來編輯: C:\Program Files\IBM\WebSphere\AppServer\java\jre\lib\security\java.security
- 將下面這一行解除註解及更新:
#login.config.url.1=file:${user.home}/.java.login.config
以指向新複製的 jaas.conf.WebSphere 檔,如下所示:
WebSphere Application Server:
login.config.url.1=file:"C:/Program
Files/IBM/WebSphere/AppServer/java/jre/lib/security/jaas.conf.WebSphere"
重要: 如果路徑包含空格,您必須將它含括在雙引號內。
Application Client for
WebSphere Application Server:
login.config.url.1=file:"C:/Program
Files/IBM/WebSphere/AppClient/java/jre/lib/security/jaas.conf.WebSphere"
重要: 如果路徑包含空格,您必須將它含括在雙引號內。