Hello
For security reasons we want to authenticate our users on the WCF Telerik Reporting Service.
At first I thougt I can use the WCF-Configuration (web.config on server; IReportServiceClientFactory on client) to set
authentication settings e.g.:
web.config
But I forgot the "webHttpBinding" form the ReportService ...
And I found no possibility to set the authentication settings for this on the client.
And because of the used WebHttpBinding are headers in the the SOAP header (with the configuration <message clientCredentialType="UserName"/> and a custom class UserNamePasswordValidator ClientCredential) not possible, or?
So I ask what are there for options for authentication?
Ideally I would like to add a header with a securty token (username + password) to all request to the server and validate it on server)
My development environment: Windows XP (SP3); VS2010; Silverlight 4.0; Reporting Q2 2010
Thank you
For security reasons we want to authenticate our users on the WCF Telerik Reporting Service.
At first I thougt I can use the WCF-Configuration (web.config on server; IReportServiceClientFactory on client) to set
authentication settings e.g.:
web.config
"IReportServiceClientFactory"<
basicHttpBinding
>
<
binding
name
=
"basicHttpBindingConfig1"
>
<
security
mode
=
"Transport"
>
<
transport
clientCredentialType
=
"Basic"
></
transport
>
</
security
>
</
binding
>
</
basicHttpBinding
>
public
class
CustomReportServiceClientFactory : IReportServiceClientFactory
{
public
ReportServiceClient Create(Uri remoteAddress)
{
BasicHttpBinding basicHttpBinding = basicHttpBinding =
new
BasicHttpBinding(BasicHttpSecurityMode.Transport);
ReportServiceClient client =
new
ReportServiceClient(basicHttpBinding,
new
EndpointAddress(remoteAddress));
return
client;
}
}
But I forgot the "webHttpBinding" form the ReportService ...
And I found no possibility to set the authentication settings for this on the client.
And because of the used WebHttpBinding are headers in the the SOAP header (with the configuration <message clientCredentialType="UserName"/> and a custom class UserNamePasswordValidator ClientCredential) not possible, or?
So I ask what are there for options for authentication?
Ideally I would like to add a header with a securty token (username + password) to all request to the server and validate it on server)
My development environment: Windows XP (SP3); VS2010; Silverlight 4.0; Reporting Q2 2010
Thank you