c# - WCF: Windows or UserName authentication in one endpoint -
we implementing following log on mechanism our 3-tier application: user launches client application , -
- authenticates using windows session credentials (active directory)
- or enters ad credentials if user logged on windows session
- or enters user name , password if computer not on ad domain.
i.e. sql server management studio log on box (+point 2. above).
the solution came having 2 endpoints, 2 system bindings (one windows, other username client credential type).
i wondering if there's way of having 1 endpoint custom binding magically allow mixed authentication (either windows or username)?
also, why bad idea?
thanks!
Comments
Post a Comment