public override void Validate(string UserName, string Password) { objAuthenticatication = new Core.Authentication(); if (!objAuthenticatication.AuthenticateUser(UserName, Password)) { throw new MessageSecurityException("Userid or Password is invalid", new FaultException("The username or password you entered is incorrect.")); // throw new FaultException("The username or password you entered is incorrect"); //throw new MessageSecurityException("The username or password you entered is incorrect"); } }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)