public NodeLogic(IConfigurationRepository configurationRepository, IAuthorizationLogic authorizationLogic, ActiveDirectoryIdentityProviderLogic adIdpLogic, IPowershellEngine powershell, IAuditLogic auditLogic, CertificateManagementLogic certificateManagement, IPrivateCertificateProcessing privateCertificateProcessing)
 {
     this.auditLogic = auditLogic;
     this.powershell = powershell;
     this.configurationRepository = configurationRepository;
     this.authorizationLogic      = authorizationLogic;
     this.adIdpLogic                   = adIdpLogic;
     this.certificateManagement        = certificateManagement;
     this.privateCertificateProcessing = privateCertificateProcessing;
 }
        //SecretKeyProvider keyProvider;

        public InitialSetupLogic(IConfigurationRepository configurationRepository)
        {
            //this.runtimeConfigurationState = runtimeConfigurationState;
            this.configurationRepository = configurationRepository;
            this.templateLogic           = new AdcsTemplateLogic(configurationRepository, new ActiveDirectoryRepository());
            this.certificateAuthorityConfigurationLogic = new CertificateAuthorityConfigurationLogic(configurationRepository);
            this.idpLogic           = new ActiveDirectoryIdentityProviderLogic(configurationRepository);
            this.authorizationLogic = new AuthorizeInitialSetup(configurationRepository);
            this.roleManagement     = new RoleManagementLogic(configurationRepository, authorizationLogic);
            this.localIdpLogic      = new LocalIdentityProviderLogic(configurationRepository);
        }
Exemple #3
0
 public ManagedCertificateDiscoveryLogic(NodeLogic nodeLogic, ActiveDirectoryIdentityProviderLogic adIdpLogic, CertificateManagementLogic certificateManagementLogic)
 {
     this.nodeLogic  = nodeLogic;
     this.adIdpLogic = adIdpLogic;
     this.certificateManagementLogic = certificateManagementLogic;
 }