This is a migrated thread and some comments may be shown as answers.

authorize wcf odata v3 service

1 Answer 61 Views
Web Services
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Maor
Top achievements
Rank 1
Maor asked on 23 Oct 2013, 07:57 AM
hi guys.
 is there a simple way to do that? i consume the service with my mobile app and i need that the service will return nothing when user is not authenticate to earlier in server.
in one of my  other projects, i use the openaccess web api web service with <authorize()> attribute before the controller class code and it works. 
in wcf, i try to do the same with no success.

regards
maor

1 Answer, 1 is accepted

Sort by
0
Viktor Zhivkov
Telerik team
answered on 23 Oct 2013, 12:54 PM
Hello Maor,

Authentication and Authorization for services is quite huge topic and there are many subtle details that should be taken in account in order to implement the right solution.
Data Services generated by Add OpenAccess Service wizard are not different than the ones that you can generate following the guidance from Microsoft so I suggest that you check these sets of articles to see which scenario described there matches your specific needs:
I hope that these resource will help you achieve the results you wanted. If you need any further assistance you can write back to us your questions.

Regards,
Viktor Zhivkov
Telerik
OpenAccess ORM Q3 2013 Beta is available for immediate download in your account. Get it now and play with the latest bits. See what's new >>
Tags
Web Services
Asked by
Maor
Top achievements
Rank 1
Answers by
Viktor Zhivkov
Telerik team
Share this question
or