Hi Damian,
You have two workarounds to that problem,
1. You can host the set of web services in a different virtual directory
with a different configuration
2. You can use the addressing headers to determine the URL for the target
service, and use a different authentication mechanism according to that.
For example
protected override string AuthenticateToken( UsernameToken token )
{
if(SoapContext.Current.Addressing.To.Value == http://service1.asmx)
//Authenticate the user against a database
else if(SoapContext.Current.Addressing.To.Value ==
http://service2.asmx)
//Authenticate the user against windows
}
Other solution is to use the brokered authentication pattern:
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnpag2/html/WSS
_Ch1_BrokAuthSTS.asp
Regards,
Pablo Cibraro
http://weblogs.asp.net/cibrax
> Hi There
>
[quoted text clipped - 12 lines]
> Thanks very much
> Damian