Redigera

Dela via


WSFederationAuthenticationModule.Policy Property

Definition

Gets or sets the value of the wp parameter to be used in WS-Federation sign-in requests ("wsignin1.0").

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

Property Value

A URL that identifies the policy to use.

Remarks

The wp parameter is optional. If the Policy property is set to null or an empty string, the wp parameter is not included in the sign-in request.

You can override this setting on each HTTP request by adding a handler for the RedirectingToIdentityProvider event. This event is raised just before the module redirects to the security token service (STS) with a WS-Federation sign-in request message. The STS is specified by the Issuer property.

Applies to