private void ValidateUser(string username, string password)
        {
            bool isValid = Membership.ValidateUser(username, password);

            if (!isValid)
            {
                this.logger.Warn("Invalid Credential.");
                throw new XmlRpcFaultException(0, "User is not valid!");
            }

            MetaWeblogIdentity identity = new MetaWeblogIdentity(username, true);

            Thread.CurrentPrincipal = new MetaWeblogPrincipal(identity);
        }
        private void ValidateUser(string username, string password)
        {
            bool isValid = Membership.ValidateUser(username, password);

            if (!isValid)
            {
                this.logger.Warn("Invalid Credential.");
                throw new XmlRpcFaultException(0, "User is not valid!");
            }

            MetaWeblogIdentity identity = new MetaWeblogIdentity(username, true);

            Thread.CurrentPrincipal = new MetaWeblogPrincipal(identity);
        }