コード例 #1
0
 public PendingCertificatesController(ICertificateRepository certRepo, IConfigurationRepository configRepo, IAuthorizationLogic authorizationLogic, IAuditLogic auditLogic)
 {
     this.certificateRepository   = certRepo;
     this.configurationRepository = configRepo;
     this.authorizationLogic      = authorizationLogic;
     this.http  = new HttpResponseHandler(this);
     this.audit = auditLogic;
 }
コード例 #2
0
 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;
 }
 public PrivateCertificateAuthorityController(ICertificateRepository certRepo, IConfigurationRepository configRepo, ICertificateProvider certProvider, IAuthorizationLogic authorizationLogic, IAuditLogic auditLogic, AdcsTemplateLogic templateLogic)
 {
     this.certificateRepository   = certRepo;
     this.configurationRepository = configRepo;
     this.certificateProvider     = certProvider;
     this.authorizationLogic      = authorizationLogic;
     this.http          = new HttpResponseHandler(this);
     this.audit         = auditLogic;
     this.templateLogic = templateLogic;
 }
コード例 #4
0
 public PrivateCertificateProcessing(ICertificateRepository certificateRepository, IConfigurationRepository configurationRepository, ICertificateProvider certificateProvider, IAuthorizationLogic authorizationLogic, AdcsTemplateLogic templateLogic, IAuditLogic audit)
 {
     this.audit = audit;
     this.configurationRepository = configurationRepository;
     this.certificateRepository   = certificateRepository;
     this.certificateProvider     = certificateProvider;
     this.authorizationLogic      = authorizationLogic;
     this.templateLogic           = templateLogic;
     this.dataTransformation      = new DataTransformation();
     this.hashProvider            = new HashProvider();
     this.secrets = new SecretKeyProvider();
     this.cipher  = new EncryptionProvider(configurationRepository.GetAppConfig().EncryptionKey);
 }
コード例 #5
0
 public CertificateManagementLogic(
     IConfigurationRepository configurationRepository,
     ICertificateRepository certificateRepository,
     IAuthorizationLogic authorizationLogic,
     IAuditLogic audit,
     SecurityPrincipalLogic securityPrincipalLogic,
     EncryptionProvider cipher
     )
 {
     this.securityPrincipalLogic  = securityPrincipalLogic;
     this.configurationRepository = configurationRepository;
     this.certificateRepository   = certificateRepository;
     this.authorizationLogic      = authorizationLogic;
     this.cipher       = cipher;
     this.hashProvider = new HashProvider();
     this.keygen       = new SecretKeyProvider();
     this.audit        = audit;
 }
コード例 #6
0
 public AuthorizationLogic(IConfigurationRepository configurationRepository, IAuditLogic audit)
 {
     this.audit = audit;
     this.configurationRepository = configurationRepository;
 }
コード例 #7
0
 public AuditController(IAuditLogic audit)
 {
     this.audit = audit;
     http       = new HttpResponseHandler(this);
 }
コード例 #8
0
 public PowershellEngine(IAuditLogic auditLogic, IScriptManagementLogic scriptManagement)
 {
     this.scriptManagement = scriptManagement;
     this.auditLogic       = auditLogic;
 }
コード例 #9
0
 public ErrorHandlingMiddleware(RequestDelegate next, IAuditLogic auditLogic)
 {
     this.next = next;
 }