ASP.NET MVC 2 and WCF Authentication Service (Repost)
$30-56 USD
Cancelled
Posted over 12 years ago
$30-56 USD
Paid on delivery
Hello,
I need example of ASP.Net MVC 2.0 application with specific requirements for security authentication through WCF services. This task shouldn't be a complex for the developer who know what to do
Please look into Detailed requirements for more info.
Let me know please if you have additional questions.
Best Regards,
Sergey Yuryev
## Deliverables
Hello,
I need example of ASP.Net MVC 2.0 application with specific requirements for security authentication through WCF services. This task shouldn't be a complex for the developer who know what to do
What I need Is example of following:
Please create an ASP.NET MVC 2.0 Web application. Please add there next WCF Services:
Authentication Service - accessible by using SSL. Service should have only one method Authenticate. UserName and Password is parameters of this method.
'Test Service' - accessible by http with method GetUserName(string sessionId) or somehow.
First Call:
Before invoke please create some test asp.net Mebership account for testing purposes
For example: [login to view URL]@[login to view URL] Jhon1234
Invoke Authentication Service - Authenticate ("[login to view URL]@[login to view URL]", Jhon1234)
This method should authenticate user credential with standard asp.net Membership authentication and then creates and return session Id that identifies session opened by the method.
Second Call
Invoke Test Service that will be accessible from web without any security restriction by http. But in request it should identify session from First Invoke and on server side linked to the same session. By Session Id this service should return user name([login to view URL]
). If [login to view URL] should be thrown SecurityException.
To check this small solution please add unit test library with couple tests to check successful and unsuccessful authentication
Unit Test should looks like this:
AuthenticationServiceClient client = new AuthenticationServiceClient();
String originalName = "[login to view URL]@[login to view URL]";
//This request should be invoked through HTTPS
String session = [login to view URL](originalName / Jhon1234);
TestServiceClient client = new TestServiceClient();
//This request should be invoked through HTTP
String UserName = [login to view URL](session);
[login to view URL](originalName, UserName);
// Do the same for phaked user credential
???.
This is just EXAMPLE to show what I want. You are welcome to provide unit tests related required implementation.
Environment Requirements:
IDE: Visual Studio 2010
.Net Framework: 3.5
Web Server: IIS 7.0
Language: C#
I need this quick and think it's really easy for experienced guy in this. Please bind only confident Developers!
Let me know please if you have additional questions.
Best Regards,
Sergey Yuryev