WSFederationAuthenticationModule.Resource Propriedade

Definição

Obtém ou define o valor do parâmetro wres a ser usado nas solicitações de credenciais da Web Services Federation ("wsignin1.0").Gets or sets the value of the wres parameter to use in WS-Federation sign-in requests ("wsignin1.0").

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

Valor da propriedade

String

Um URI que identifica o recurso que está sendo acessado, a RP (terceira parte confiável), para o serviço de token de segurança (STS).A URI that identifies the resource being accessed, the relying party (RP), to the to the security token service (STS).

Comentários

O parâmetro wtrealm, que é definido pela Realm propriedade, deve ser usado em vez desse parâmetro.The wtrealm parameter, which is set by the Realm property, should be used instead of this parameter.

O parâmetro wres é opcional.The wres parameter is optional. Se a Resource propriedade for definida como null ou uma cadeia de caracteres vazia, o parâmetro wres não será incluído na solicitação de entrada.If the Resource property is set to null or an empty string, the wres parameter is not included in the sign-in request.

Você pode substituir essa configuração em cada solicitação HTTP adicionando um manipulador para o RedirectingToIdentityProvider evento.You can override this setting on each HTTP request by adding a handler for the RedirectingToIdentityProvider event. Esse evento é gerado pouco antes de o módulo redirecionar para o serviço de token de segurança (STS) com uma mensagem de solicitação de entrada WS-Federation.This event is raised just before the module redirects to the security token service (STS) with a WS-Federation sign-in request message. O STS é especificado pela Issuer propriedade.The STS is specified by the Issuer property.

Aplica-se a