[16.0.0.3 以及更新版本]

針對指令行公用程式和開發人員工具配置 customPasswordEncryption 提供者

使用 securityUtility 之類的指令行公用程式來啟用 customPasswordEncryption 提供者,以便將機密字串加密。您也可以使用 customPasswordEncryption 提供者作為 WebSphere® Developer Tools 中的編碼選項。

開始之前

取得含有 customPasswordEncryption 提供者的「企業系統架構 (ESA)」檔案。如開發 customPasswordEncryption 提供者中所述,customPasswordEncryption 提供者會實作 com.ibm.wsspi.security.crypto.CustomPasswordEncryption 介面,並且含有延伸資訊清單檔。如果您並無包含 customPasswordEncryption 提供者的 ESA 檔案,請使用 Java™ 保存檔 (JAR) 以及含有安裝指示的一些資訊清單檔。

關於這項作業

安裝 customPasswordEncryption 提供者,以便在 Liberty 執行時期環境和 WebSphere Developer Tools 中使用它。您可以在 Liberty 執行時期環境中使用 customPasswordEncryption 提供者,以便將機密字串加密。將 customPasswordEncryption 提供者安裝在 Liberty 執行時期環境之後,WebSphere Developer Tools 會新增 customPasswordEncryption 選項,作為「密碼」畫面中的一個編碼選項。

程序

  1. 使用 installUtility 指令來安裝 ESA 檔案。

    如果 customPasswordEncryption 提供者的包裝方式有別於 ESA 檔案,請遵循 customPasswordEncryption 提供者的安裝指示。

  2. 確認安裝成功。

    發出下列指令:

    wlp/bin/securityUtility encode --listCustom

    預期的輸出是來自 customPasswordEncryption 提供者的資訊。以下是輸出範例:

    [{"name":"custom","featurename":"usr:customPasswordEncryption-1.0","description":"MyCompany custom password encryption"}]
  3. 選擇性的: 如果要從指令行工具使用 customPasswordEncryption 提供者,請新增下列參數: --encoding=custom

    接受這個參數的指令行公用程式如下:

    securityUtility
    configUtility
    bluemixUtility
    collective

結果

customPasswordEncryption 提供者會安裝在 Liberty 執行時期環境中。您選擇性地將 customPasswordEncryption 提供者與指令行公用程式搭配使用。

下一步

WebSphere Developer Tools 的「密碼」畫面中,您可以使用 customPasswordEncryption 提供者作為編碼選項。

指示主題類型的圖示 作業主題



「時間戳記」圖示 前次更新: 2016 年 11 月 30 日
http://www14.software.ibm.com/webapp/wsbroker/redirect?version=cord&product=was-libcore-mp&topic=twlp_config_custencrypt_clwdt
檔名:twlp_config_custencrypt_clwdt.html