void ISaslAuthenticationProvider.Initialize(Dictionary <string, object> parameters) { if (parameters != null) { this._authenticateData = PlainTextAuthenticator.CreateAuthenticateData( this.GetParameter(parameters, "zone"), this.GetParameter(parameters, "userName"), this.GetParameter(parameters, "password") ); } }
public PlainTextAuthenticator(string zone, string userName, string password) { this._authenticateData = PlainTextAuthenticator.CreateAuthenticateData(zone, userName, password); }