Hi.
Can a wcf service authenticate clients with different security tokens on the same endpoint
Example: The same service authenticates a client that sends a UsernameToken, and authenticates another client sending a Kerberos ticket.
If so, what I'm trying to do is to extend a little the CustomToken wcf sample (CreditCardToken) to also authenticate clients that sends a username/password against the SqlMembershipProvider. I know I can extend the token and add a switch to know wich kind of authentication to use in the SecurityTokenAuthenticator, but I don't know if that is the better way...
And can the CustomToken sample be configured from the web.config instead of configuring it programmatically, since it uses a CustomBinding
Any help would be appreciated. Thanks in advance,
Matias.