WS-Security 提供者 (wsSecurityProvider)

提供者的「Web 服務安全」預設配置。

屬性名稱 資料類型 預設值 說明
ws-security.callback-handler 字串   密碼回呼處理常式實作類別。
ws-security.enable.nonce.cache 布林 True 是否快取 UsernameToken Nonce。
ws-security.encryption.username 字串   用來存取加密金鑰儲存庫的別名。
ws-security.signature.username 字串   用來存取簽章金鑰儲存庫的別名。
ws-security.username 字串   用來建立「使用者名稱記號」的使用者資訊。
callerToken
說明:呼叫端記號。
必要:false
資料類型:
屬性名稱 資料類型 預設值 說明
allowCustomCacheKey 布林 True 容許產生自訂快取索引鍵,以存取鑑別快取並取得主體。
groupIdentifier 字串   指定一個 SAML 屬性,以作為受鑑別主體的所屬群組名稱。沒有預設值。
includeTokenInSubject 布林 True 指定是否在主體中包含 SAML 主張。
mapToUserRegistry
  • User
  • No
  • Group
No 指定如何將身分對映至登錄使用者。選項有 No、User 和 Group。預設值為 No,且不會使用使用者登錄來建立使用者主體。
User
將 SAML 身分對映至登錄中所定義的使用者
No
不將 SAML 身分對映至登錄中的使用者或群組
Group
將 SAML 身分對映至登錄中所定義的群組
name 字串   指定記號名稱。選項是 Usernametoken、X509token、Samltoken。
realmIdentifier 字串   指定一個 SAML 屬性,以作為網域範圍名稱。預設值為 issuer。
realmName 字串   指定當 mapToUserRegistry 設為 No 或 Group 時的網域範圍名稱。
userIdentifier 字串   指定一個 SAML 屬性,以作為主體中的使用者主體名稱。預設值為 NameID 主張。
userUniqueIdentifier 字串   指定一個 SAML 屬性,以便在套用至主體中的 WSCredential 時,作為唯一使用者名稱。預設值與 userIdentifier 屬性值相同。
encryptionProperties
說明:必要的加密配置。
必要:false
資料類型:
屬性名稱 資料類型 預設值 說明
org.apache.ws.security.crypto.merlin.cert.provider 字串   用來載入憑證的提供者。預設為金鑰儲存庫提供者。
org.apache.ws.security.crypto.merlin.file 字串   金鑰儲存庫的位置
org.apache.ws.security.crypto.merlin.keystore.alias 字串   要使用的預設金鑰儲存庫別名(如果沒有指定)。
org.apache.ws.security.crypto.merlin.keystore.password 可反向編碼的密碼(字串)   用來存取金鑰儲存庫檔的密碼。
org.apache.ws.security.crypto.merlin.keystore.private.password 可反向編碼的密碼(字串)   用來載入私密金鑰的預設密碼。
org.apache.ws.security.crypto.merlin.keystore.provider 字串   用來載入金鑰儲存庫的提供者。預設為已安裝的提供者。
org.apache.ws.security.crypto.merlin.keystore.type 字串   JKS、JCEKS 或 PKCS11
org.apache.ws.security.crypto.merlin.truststore.file 字串   信任儲存庫的位置
org.apache.ws.security.crypto.merlin.truststore.password 可反向編碼的密碼(字串)   信任儲存庫密碼。
org.apache.ws.security.crypto.merlin.truststore.type 字串   信任儲存庫類型。
org.apache.ws.security.crypto.merlin.x509crl.file 字串   要用的 (X509) CRL 檔的位置。
org.apache.ws.security.crypto.provider 字串 org.apache.ws.security.components.crypto.Merlin 用來建立 Crypto 實例的提供者。預設為 "org.apache.ws.security.components.crypto.Merlin"。
samlToken
說明:指定用來評估「SAML 主張」可信度和有效性的內容。
必要:false
資料類型:
屬性名稱 資料類型 預設值 說明
clockSkew 具有毫秒精準度的時間量 5m 這是用來指定驗證 SAML 記號時,所容許的時間偏差(分鐘)。請指定一個正整數,後面接著一個時間單位,可以是時 (h)、分 (m)、秒 (s) 或毫秒 (ms)。 例如,500 毫秒指定為 500ms。 單一項目可以包含多個值。比方說,1s500ms 相當於 1.5 秒。
requiredSubjectConfirmationMethod
  • bearer
bearer 指定「SAML 主張」中是否需要「主體確認方法」。預設值為 true。
bearer
bearer
timeToLive 具有毫秒精準度的時間量 30m 指定一旦「SAML 主張」沒有定義 NoOnOrAfter 條件時,其預設生命週期。預設值為 30 分鐘。請指定一個正整數,後面接著一個時間單位,可以是時 (h)、分 (m)、秒 (s) 或毫秒 (ms)。 例如,500 毫秒指定為 500ms。 單一項目可以包含多個值。比方說,1s500ms 相當於 1.5 秒。
wantAssertionsSigned 布林 True 指出需要簽署這個服務提供者所收到的 <saml:Assertion> 元素。
samlToken > audienceRestrictions
說明:指定容許的「SAML 主張」對象。預設值是容許所有對象。
必要:false
資料類型:字串
signatureProperties
說明:必要的簽章配置。
必要:false
資料類型:
屬性名稱 資料類型 預設值 說明
org.apache.ws.security.crypto.merlin.cert.provider 字串   用來載入憑證的提供者。預設為金鑰儲存庫提供者。
org.apache.ws.security.crypto.merlin.file 字串   金鑰儲存庫的位置
org.apache.ws.security.crypto.merlin.keystore.alias 字串   要使用的預設金鑰儲存庫別名(如果沒有指定)。
org.apache.ws.security.crypto.merlin.keystore.password 可反向編碼的密碼(字串)   用來存取金鑰儲存庫檔的密碼。
org.apache.ws.security.crypto.merlin.keystore.private.password 可反向編碼的密碼(字串)   用來載入私密金鑰的預設密碼。
org.apache.ws.security.crypto.merlin.keystore.provider 字串   用來載入金鑰儲存庫的提供者。預設為已安裝的提供者。
org.apache.ws.security.crypto.merlin.keystore.type 字串   JKS、JCEKS 或 PKCS11
org.apache.ws.security.crypto.merlin.truststore.file 字串   信任儲存庫的位置
org.apache.ws.security.crypto.merlin.truststore.password 可反向編碼的密碼(字串)   信任儲存庫密碼。
org.apache.ws.security.crypto.merlin.truststore.type 字串   信任儲存庫類型。
org.apache.ws.security.crypto.merlin.x509crl.file 字串   要用的 (X509) CRL 檔的位置。
org.apache.ws.security.crypto.provider 字串 org.apache.ws.security.components.crypto.Merlin 用來建立 Crypto 實例的提供者。預設為 "org.apache.ws.security.components.crypto.Merlin"。

指示主題類型的圖示 參照主題



「時間戳記」圖示 前次更新: 2016 年 6 月 3 日
http://www14.software.ibm.com/webapp/wsbroker/redirect?version=cord&product=was-nd-dist&topic=rwlp_config_wsSecurityProvider
檔名:rwlp_config_wsSecurityProvider.html