I'm going to create WCF Data Services to expose data from my ASP.NET 4.0 system so that Java client can consume it. Java application will be equipped with small login/password form so that a user has an opportuinity to login and thus the application can start retrieving data in 50 seconds intrvals. Of course I want to enable only logged in client to retrieve data from my WCF. Can you propose the most optimal solution as well as a snippet of code to guide me where I should start from?

Best Regards,