WCF custom UserNameValidator - When and where in channel mode is this added?

I need to access the EndPoint on the service before the valdiation UserNamePassword is executed. I have a custom password passwordwordvalidator. Before this authentication, I need to access the endpoint. I tried to implement messageinspector, iservicehbevaior, etc., but they all seem to hit only after checking UserNamePassword. Is there any extension point before validating UserNamePassword that would allow me to access the EndPoint?

+2


source to share


1 answer


What kind of processing do you want to do before checking the UserNamePassword?

Several things I can think of:



  • Create your own channel and then a custom binding that introduces this channel between the transport channel and the security channels.
  • Create your own encoder that wraps the built-in (text, binary, etc.) encoder you are using
0


source







All Articles