Exemplo n.º 1
0
 public AddRequestCommandHandler(ILDAPEntryQueryStore ldapQueryStore, ILDAPEntryCommandStore ldapCommandStore, IOptions <LdapServerOptions> options, IEnumerable <IAttributeSyntaxValidator> attributeSyntaxLst)
 {
     _ldapQueryStore     = ldapQueryStore;
     _ldapCommandStore   = ldapCommandStore;
     _options            = options.Value;
     _attributeSyntaxLst = attributeSyntaxLst;
 }
 /// <summary>
 /// Constructor
 /// </summary>
 /// <param name="appSettings">AppSettings</param>
 public OpenLdapHealthCheck(AppSettings appSettings)
 {
     this.appSettings = appSettings;
     this.ldapServer  = this.appSettings?.LdapServer;
 }
Exemplo n.º 3
0
 public LdapUserManager(IOptions <AppSettings> configuration)
 {
     this.appSettings = configuration.Value;
     this.ldapServer  = this.appSettings?.LdapServer;
 }
 public SimpleAuthenticationHandler(IOptions <LdapServerOptions> options, ILDAPEntryQueryStore ldapEntryQueryStore, IMatchingRuleHandlerFactory matchingRuleHandlerFactory)
 {
     _options                    = options.Value;
     _ldapEntryQueryStore        = ldapEntryQueryStore;
     _matchingRuleHandlerFactory = matchingRuleHandlerFactory;
 }
 public SearchRequestCommandHandler(IOptions <LdapServerOptions> options, ILDAPEntryQueryStore ldapEntryQueryStore, IEnumerable <IAuthenticationHandler> authenticationHandlers)
 {
     _options                = options.Value;
     _ldapEntryQueryStore    = ldapEntryQueryStore;
     _authenticationHandlers = authenticationHandlers;
 }