jezell / iserviceoriented

This URL has Read+Write access

iserviceoriented / IServiceOriented.ServiceBus.Samples.Chat / NullUserNamePasswordValidator.cs
100644 21 lines (18 sloc) 0.547 kb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.IdentityModel.Selectors;
using System.IdentityModel.Tokens;
using System.ServiceModel;
 
 
namespace IServiceOriented.ServiceBus.Samples.Chat
{
    public class NullUserNamePasswordValidator : UserNamePasswordValidator
    {
        public override void Validate(string userName, string password)
        {
            // Allow everything through
            System.Diagnostics.Trace.WriteLine("Ignoring username and password");
        }
    }
}