using System; using System.Collections.Generic; using System.Configuration; using System.Linq; using System.Text; using System.Threading.Tasks; namespace GreenTree.Nachtragsmanagement.Core.Configuration { public class LdapServerElement : ConfigurationElement { /// /// LDAP connection which should be used to to authenticate the user /// [ConfigurationProperty("ldapConnectionString", DefaultValue = "", IsRequired = false)] public string LdapConnectionString { get { return (string)this["ldapConnectionString"]; } set { this["ldapConnectionString"] = value; } } /// /// User which is allowed to query the specified LDAP server /// [ConfigurationProperty("administriveUser", DefaultValue = "", IsRequired = false)] public string AdministriveUser { get { return (string)this["administriveUser"]; } set { this["administriveUser"] = value; } } /// /// Password of the administrive user /// [ConfigurationProperty("password", DefaultValue = "", IsRequired = false)] public string Password { get { return (string)this["password"]; } set { this["password"] = value; } } } }