僅限間接繫結:加密外部 LDAP 使用者的密碼
私有雲的邊緣 4.16.09 版
如果您使用間接繫結,則需要在 management-server.properties 中提供外部 LDAP 使用者名稱和密碼,讓 Apigee 用來登入外部 LDAP 並執行間接憑證搜尋。
下列步驟說明如何加密密碼:
- 執行下列 Java 公用程式,並將 <YOUR EXTERNAL LDAP PASSWORD> 替換成實際的外部 LDAP 密碼:
java -cp
/opt/apigee/edge-gateway/lib/thirdparty/*:/opt/apigee/edge-gateway/lib/kernel/*:/opt/apigee/edge-gateway/lib/kernel/*:/opt/apigee/edge-gateway/lib/kernel/*:/opt/apigee/edge-gateway/lib/kernel/*:/opt/apigee/edge-gateway/lib/kernel/*:/opt/apigee/edge-gateway/lib/kernel/*:/opt/apigee/edge-gateway/lib/kernel/*:/opt/apigee/edge-gateway/lib/kernel/*edLDAPCredential]<密碼憑證><Apigee.util.>
- 在指令的輸出內容中,您會看到一行新行,後面接著像是隨機字元字串。複製該字串。
- 編輯 /opt/apigee/customer/application/management-server.properties。
- 更新下列屬性,將 <myAdPassword> 換成您在上述步驟 2 中複製的字串。
conf_security_externalized.authentication.indirect.bind.server.admin.password=<myAdPassword>
- 請務必將以下屬性設為 true:
conf_security_externalized.authentication.indirect.bind.server.admin.password.encrypted=true
- 儲存檔案。
- 重新啟動管理伺服器:
>/opt/apigee/apigee-service/bin/apigee-service Edge-management-server restart
- 確認伺服器是否正在運作:
> /opt/apigee/apigee-service/bin/apigee-all 狀態
測試安裝
請參閱啟用外部驗證結尾的測試一節,然後執行其中所述的相同測試。
除非另有註明,否則本頁面中的內容是採用創用 CC 姓名標示 4.0 授權,程式碼範例則為阿帕契 2.0 授權。詳情請參閱《Google Developers 網站政策》。Java 是 Oracle 和/或其關聯企業的註冊商標。
上次更新時間:2024-02-07 (世界標準時間)。
[{
"type": "thumb-down",
"id": "missingTheInformationINeed",
"label":"缺少我需要的資訊"
},{
"type": "thumb-down",
"id": "tooComplicatedTooManySteps",
"label":"過於複雜/步驟過多"
},{
"type": "thumb-down",
"id": "outOfDate",
"label":"過時"
},{
"type": "thumb-down",
"id": "translationIssue",
"label":"翻譯問題"
},{
"type": "thumb-down",
"id": "samplesCodeIssue",
"label":"示例/程式碼問題"
},{
"type": "thumb-down",
"id": "otherDown",
"label":"其他"
}]
[{
"type": "thumb-up",
"id": "easyToUnderstand",
"label":"容易理解"
},{
"type": "thumb-up",
"id": "solvedMyProblem",
"label":"確實解決了我的問題"
},{
"type": "thumb-up",
"id": "otherUp",
"label":"其他"
}]
{"lastModified": "\u4e0a\u6b21\u66f4\u65b0\u6642\u9593\uff1a2024-02-07 (\u4e16\u754c\u6a19\u6e96\u6642\u9593)\u3002"}
[[["容易理解","easyToUnderstand","thumb-up"],["確實解決了我的問題","solvedMyProblem","thumb-up"],["其他","otherUp","thumb-up"]],[["缺少我需要的資訊","missingTheInformationINeed","thumb-down"],["過於複雜/步驟過多","tooComplicatedTooManySteps","thumb-down"],["過時","outOfDate","thumb-down"],["翻譯問題","translationIssue","thumb-down"],["示例/程式碼問題","samplesCodeIssue","thumb-down"],["其他","otherDown","thumb-down"]],["上次更新時間:2024-02-07 (世界標準時間)。"],[],[]]