Silverlight 4 - authentiation / authorization against custom wcf service
Posted
by Calanus
on Stack Overflow
See other posts from Stack Overflow
or by Calanus
Published on 2010-05-29T14:25:05Z
Indexed on
2010/05/29
14:32 UTC
Read the original article
Hit count: 616
I have a wcf service in front of an AzMan store that passes roles and operations to clients using the following interface:
[OperationContract]
bool AuthenticateUser(string password, string appName);
[OperationContract]
string[] GetRoles(string storelocation, string appName);
[OperationContract]
string[] GetOperations(string storeLocation, string appName, string selectedRole);
Clients connect to this service using windows authentication (but users must send their password through to reaffirm their identity). Ultimately the service delivers an array of operations that each client can perform based on their selected role.
I've opened a new Silverlight Business Application and tried to understand how authentication/authorization works in this template, as well as scoured the web to find examples to how to hook my webservice to the login box already created in the template, but I am completely at a loss as how to do this!
Can anyone offer any advice?
© Stack Overflow or respective owner