Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
04/02/12 19:52:05 (12 years ago)
Author:
ascheibe
Message:

#1809 added password encryption/decryption for Clients.Common

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.Clients.Common/3.3/ClientFactory.cs

    r7259 r7690  
    4141      where T : ClientBase<I>, I
    4242      where I : class {
    43       return CreateClient<T, I>(endpointConfigurationName, remoteAddress, Settings.Default.UserName, Settings.Default.Password);
     43      return CreateClient<T, I>(endpointConfigurationName, remoteAddress, Settings.Default.UserName, CryptoService.DecryptString(Settings.Default.Password));
    4444    }
    4545    public static T CreateClient<T, I>(string endpointConfigurationName, string remoteAddress, string userName, string password)
     
    7171    public static ChannelFactory<I> CreateChannelFactory<I>(string endpointConfigurationName, string remoteAddress)
    7272      where I : class {
    73       return CreateChannelFactory<I>(endpointConfigurationName, remoteAddress, Settings.Default.UserName, Settings.Default.Password);
     73      return CreateChannelFactory<I>(endpointConfigurationName, remoteAddress, Settings.Default.UserName, CryptoService.DecryptString(Settings.Default.Password));
    7474    }
    7575    public static ChannelFactory<I> CreateChannelFactory<I>(string endpointConfigurationName, string remoteAddress, string userName, string password)
Note: See TracChangeset for help on using the changeset viewer.