Share via


WSFederationAuthenticationModule.Policy 屬性

定義

取得或設定要在 WS-同盟登入要求 ("wsignin1.0") 中使用的 wp 參數值。

public:
 property System::String ^ Policy { System::String ^ get(); void set(System::String ^ value); };
public string Policy { get; set; }
member this.Policy : string with get, set
Public Property Policy As String

屬性值

識別要使用之原則的 URL。

備註

wp 參數是選擇性的。 Policy如果屬性設定為 null 或空字串,則 wp 參數不會包含在登入要求中。

您可以藉由新增 事件的處理程式 RedirectingToIdentityProvider ,在每個 HTTP 要求上覆寫此設定。 此事件會在模組重新導向至具有 WS-Federation 登入要求訊息 (STS) 的安全性令牌服務之前引發。 STS 是由 Issuer 屬性所指定。

適用於