Last post Feb 14, 2015 12:21 PM by sapator
Feb 04, 2015 10:43 AM|sapator|LINK
I am creating a custom validation, meaning something like:
So on the server side i am expecting the user to pass creds and i am validating like:
Public Overrides Sub Validate(userName As String, password As String)
' Credential validation logic
'' if error
'' Throw New HttpRequestValidationException
Return ' Accept anything
My question is if this is still a valid SSL https way. Meaning that it has all the https benefits and the data is passed in a secured manner.
Also in the future i may create a restfull way so i can use Json and Ajax calls. Will this validation be available as an option?
Feb 13, 2015 02:06 AM|Shawn - MSFT|LINK
The serviceCredentials behavior doesn’t really have much to do with whether it’s a Soap or Rest-based service. To authenticate REST clients, you can set the security mode of the web http binding to “Transport” and specify a client credential type of “Basic.”
<webHttpBinding> <binding> <security mode="Transport"> <transport clientCredentialType="Basic"/> </security> </binding> </webHttpBinding>
For more information, you could refer to:
Feb 14, 2015 12:21 PM|sapator|LINK