using Microsoft.Web.Services3.Security.Tokens; namespace WSExample { /// /// Validates the username and password found in a SOAP message /// public class myPasswordProvider : UsernameTokenManager { protected override string AuthenticateToken(UsernameToken token) { string password = token.Username; return password; } } }