---
title: Configuration settings
summary: Configuration keys consumed by SAIF.Business.Policy.Affiliate, retrieval methods, and runtime dependencies.
status: draft
owner: Technical Writer
last_reviewed: 2026-07-31
library: SAIF.Business.Policy.Affiliate
reference_type: package
---

# Configuration settings

`SAIF.Business.Policy.Affiliate` performs no programmatic configuration retrieval of its own. Its direct configuration surface is limited to Oracle provider registration, assembly binding redirects, and an empty VB application-settings scaffold, while runtime connection and environment settings are inherited from BOF framework packages.

## Configuration retrieval methods

| Method | Class / Interface | Namespace | Usage pattern |
| --- | --- | --- | --- |
| `GetConfigSetting` | `IEnvironmentService` | `SAIF.Core.Services` | Not used directly in live code. |
| `GetSecureConfigSetting` | `IEnvironmentService` | `SAIF.Core.Services` | Not used directly in live code. |
| `ConfigurationManager.AppSettings` | `ConfigurationManager` | `System.Configuration` | Not used directly in live code. |
| `My.Settings` | `SAIF.Business.Policy.Affiliate.My.MySettings` | `SAIF.Business.Policy.Affiliate.My` | Auto-generated settings class exists, but declares no typed settings. |
| `DbProviderFactories` registration | Oracle managed driver | `System.Data` | Declarative provider registration in `app.config` and `Web.config`. |

## Environment API settings

| Setting key | Method | Data type | Purpose | Consuming class | Source |
| --- | --- | --- | --- | --- | --- |
| _(none)_ | — | — | No direct Environment API settings are retrieved by this library. | — | `Business\SAIF.Business.Policy.Affiliate\clsAffiliate.vb` |

## AppSettings (Web.config)

| Setting key | Default value | Purpose | Consuming class | Source |
| --- | --- | --- | --- | --- |
| _(none)_ | — | No `appSettings` keys are declared or read by this library. | — | `Business\SAIF.Business.Policy.Affiliate\Web.config` |

## Database connection configuration

| Connection name | Provider | Retrieval method | Purpose | Source |
| --- | --- | --- | --- | --- |
| Portal-based Oracle connection | Oracle.ManagedDataAccess | Caller-supplied `IDataPortalInfo.PortalID` | Allows the BOF framework to resolve the runtime Oracle connection outside this library.* | `Business\SAIF.Business.Policy.Affiliate\clsAffiliate.vb` |

## Secure settings

| Setting key | Encryption method | Purpose | Consuming class | Source |
| --- | --- | --- | --- | --- |
| _(none)_ | — | No secure settings are retrieved directly by this library. | — | `Business\SAIF.Business.Policy.Affiliate\packages.config` |

## Transitive configuration (from dependencies)

| Setting key | Method | Source dependency | Dependency type | Purpose |
| --- | --- | --- | --- | --- |
| `EnvironmentApiUrl` | `GetConfigSetting` | SAIF.BOF.Framework / SAIF.Framework.Security.EnvironmentApi | NuGet | Required by BOF hosting infrastructure when environment-backed services are active.* |
| `workCalendarServiceUrl` | `GetConfigSetting` | SAIF.BOF.Framework / SAIF.Framework.Core | NuGet | Supports `clsSmartDate` behavior used by affiliate and exemption business objects.* |
| `securityserviceurl` / `securityServiceUrl` | `GetConfigSetting` | SAIF.BOF.Framework / SAIF.Framework.Security | NuGet | Enables framework authorization plumbing when the host activates BOF security services.* |
| Portal-to-connection mapping | Framework-specific | SAIF.BOF.Framework / SAIF.Framework.Connection | NuGet | Maps the caller's portal identifier to the environment-specific Oracle connection used for retrieval.* |

## Configuration dependencies

| Dependency | Type | Required at | Impact if missing |
| --- | --- | --- | --- |
| Oracle managed provider registration | service/file/section | startup | The BOF host cannot construct the Oracle provider. |
| Portal-id connection mapping | service/configuration | runtime | Retrieval operations cannot reach Oracle.* |
| Environment API host settings | service/configuration | runtime | Framework features that rely on environment-backed settings cannot resolve their endpoints.* |

## Related documentation
- [Index](index.md)
- [Overview](overview.md)
- [Architecture](architecture.md)
- [Dependencies](dependencies.md)
- [Operations and processes](operations-processes.md)
- [Business rules](business-rules.md)
- [Database tables](database-tables.md)
- [SQL catalog](sql/index.md)
- [API reference](api/index.md)

> **Note:** Statements marked with * were inferred from code structure, naming conventions, or
> contextual evidence where direct confirmation was not available in source artifacts. Statements
> marked with ** could not be confirmed; treat as unknown until verified.

## Sources
- `Business\SAIF.Business.Policy.Affiliate\app.config`
- `Business\SAIF.Business.Policy.Affiliate\Web.config`
- `Business\SAIF.Business.Policy.Affiliate\My Project\Settings.settings`
- `Business\SAIF.Business.Policy.Affiliate\My Project\Settings.Designer.vb`
- `Business\SAIF.Business.Policy.Affiliate\SAIF.BOF.Business.Policy.Affiliate.vbproj`
- `Business\SAIF.Business.Policy.Affiliate\packages.config`
- `Business\SAIF.Business.Policy.Affiliate\clsAffiliate.vb`
- `Business\SAIF.Business.Policy.Affiliate\clsPolicyAffiliateBase.vb`
- `Business\SAIF.Business.Policy.Affiliate\clsCorporateOfficerExemption.vb`
