wcf security - Implementing Basic Authentication in WCF -
i've requirement implement basic authentication in wcf user credentials stored in database instead of active directory. whenever client call service method i've username & password soap headers , authenticate using database. can body point out references implement this?
note: service using basic-http binding.
what want use? combining multiple authentication strategies because basic authentication refers basic http authentication , doesn't use soap header. uses http header.
if want use basic http authentication choices differ hosting type:
- in self hosting scenario , wcf 4 should able validate credentials custom password validator
- in iis hosted service need custom authentication module because default authentication goes against windows accounts
if want use authentication based on soap header can again use custom password validator.
Comments
Post a Comment