title: Silverlight 4 - authentiation / authorization against custom wcf service
body: <p>I have a wcf service in front of an AzMan store that passes roles and operations to clients using the following interface:</p>
  
  <pre><code>    [OperationContract]
      bool AuthenticateUser(string password, string appName);
  
      [OperationContract]
      string[] GetRoles(string storelocation, string appName);
  
      [OperationContract]
      string[] GetOperations(string storeLocation, string appName, string selectedRole);
  </code></pre>
  
  <p>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.</p>
  
  <p>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!</p>
  
  <p>Can anyone offer any advice?</p>