//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);
        }
 public SecurityPrincipalLogic(RoleManagementLogic roleManagementLogic, UserManagementLogic userManagementLogic)
 {
     this.roleManagementLogic = roleManagementLogic;
     this.userManagementLogic = userManagementLogic;
 }