BPC Configuration File

Various BPC settings are defined in the configuration file <BPC-INSTALL-DIR>/karaf/etc/de.virtimo.bpc.core.cfg.
These settings are presented and described below.

If you wish to make changes to these Parameters, we strongly recommend doing so via the Central configuration file. This simplifies future updates. See Overriding Values from etc Files.

General

Parameter Default

de.virtimo.bpc.core.version
Contains the exact version number of the BPC Backend Core module.
Cannot and should not be changed.

-

de.virtimo.bpc.core.name
Descriptive name of this server in the cluster.

BPC

de.virtimo.bpc.core.karaf.uuid
Contains a unique ID to identify this server in the cluster.
Is automatically generated and set at startup if not already present.

Not set

de.virtimo.bpc.core.forceLocalIdentityProvider
If the currently configured identity provider is unreachable or incorrectly configured, the local identity provider (user.properties) can be temporarily enabled.

false

de.virtimo.bpc.core.encryption.key
The key used to encrypt/decrypt passwords (e.g., for backend connections) stored in the OpenSearch index.

  • If you change this key, existing passwords will become invalid.

  • Make sure you use the same key on all servers in your cluster.

virtimo_berlin

de.virtimo.bpc.core.systemchecker.interval
Sets the interval in seconds at which the system checks, for example, available disk space.

30 Seconds

de.virtimo.bpc.core.cookieName
Sets the name of the cookie generated by the BPC.

BPC_J_S

de.virtimo.bpc.core.cookieSecure
Specifies whether the cookie generated by the BPC (the so-called “secure” flag) should be set or not. Should be enabled if the BPC has been configured for secure connections. See Secure connection (TLS/HTTPS)

false

de.virtimo.bpc.core.os-bpc-plugin.retryInterval
The BPC Backend Core establishes a WebSocket connection to the BPC plugin running in OpenSearch. If this connection is interrupted, another attempt to re-establish it will be made after the specified time.

5 seconds

de.virtimo.bpc.core.percolatorschecker.intervalInMinutes
The time after which invalid or no longer valid percolators should be deleted.

60 minutes

de.virtimo.bpc.core.ipPinningCheck
+ Defines whether an IP pinning check is performed. This checks whether the IP address transmitted with each user request matches the one used during login. If an HTTP proxy is used, please ensure that an HTTP header such as X-Forwarded-For is set.

true

de.virtimo.bpc.core.ipPinningCheck.httpHeader
If an HTTP proxy is used, set the name of the HTTP header here under which the user’s IP address can be found. It is recommended to adhere to the de facto standard X-Forwarded-For.

X-Forwarded-For

OpenSearch

For accessing the OpenSearch installation to be used.

Parameter

Default

de.virtimo.bpc.core.opensearch.hosts
All OpenSearch hosts in the cluster, separated by commas. If you are using only a single BPC, specify the corresponding OpenSearch host. Example: https://server1.example.com:9200, https://server2.example.com:9200, https://server3.example.com:9200

It is recommended to always use HTTPS connections. See OpenSearch and Secure connection (TLS/HTTPS).

de.virtimo.bpc.core.opensearch.backupRepository.cleanupCronPattern
Cron-like pattern (following Quartz scheduler syntax) for specifying when cleanup of the OpenSearch backup repository should be performed. When called, data that is no longer referenced is deleted from the repository directory to save space. By default, this is performed on the last day of each month at 9:30 a.m. Examples of Cron patterns and the documentation can be found on the Quartz Scheduler website.

0 30 9 L * ?

de.virtimo.bpc.core.opensearch.privatekey.alias
The alias under which the client certificate for authentication can be found in the keystore.

opensearch_bpc

de.virtimo.bpc.core.opensearch.privatekey.password
The password used to protect the client certificate in the keystore. Not the password for the keystore itself.

virtimo

de.virtimo.bpc.core.opensearch.username
If OpenSearch is protected by username/password authentication, the username can be entered here.

It is recommended not to use this setting and to use mTLS authentication instead. See OpenSearch and Secure connection (TLS/HTTPS).

Not set

de.virtimo.bpc.core.opensearch.password
If OpenSearch is protected by username/password access, the password can be stored here.

It is recommended not to use this setting and to use mTLS authentication instead. See OpenSearch and Secure connection (TLS/HTTPS).

Not set

Maintenance mode

See also Maintenance Mode.

Parameter Default

de.virtimo.bpc.core.maintenancemode
To enable/disable maintenance mode.
Maintenance mode is enabled at true.
It is disabled at false.

The default is false.

de.virtimo.bpc.core.maintenancemode.fileSystemLimitInMB
The unit is MB.
If less disk space is available, maintenance mode is activated.
This value should be set to the same value as cluster.routing.allocation.disk.watermark.low from the opensearch.yml.

10240

de.virtimo.bpc.core.maintenancemode.message
Optionally, a maintenance mode message can be specified that is displayed to the user upon login.

Nicht gesetzt

Metrics Interface (Prometheus)

The Metrics interface is protected by Basic Authentication (username/password) and cannot be accessed without it.

Parameters Default

de.virtimo.bpc.metrics.basic_auth.username
The username for accessing the Metrics endpoint.

virtimo

de.virtimo.bpc.metrics.basic_auth.password
The password for accessing the Metrics endpoint.
If not set, a random password is generated and set at startup.

Not set

Performance Metrics

The OpenSearch index bpc-performance collects various frontend performance metrics. This index is automatically purged at regular intervals.

Parameter Default

de.virtimo.bpc.core.performance.cleanupPeriodInMinutes
Interval in minutes at which the cleanup run is executed.

60 (every 60 minutes)

de.virtimo.bpc.core.performance.deleteEntriesOlderThan
Maximum age of entries. Older data is removed from the index during the cleanup run.

4 weeks ago

Audit Logger

Defines the configuration for the audit logger.

The 'OpenSearchAuditLogger' is used by the BPC Backend Core and is configured as follows. If a custom bundle uses a separate logger, these configuration entries must be duplicated and the name 'OpenSearchAuditLogger' adjusted accordingly.

See also Audit Log Service.

Parameter Default

de.virtimo.bpc.core.auditlog.OpenSearchAuditLogger.auditlog.level
Sets the log level.
Valid values: DEBUG, INFO, WARNING, ERROR

INFO

de.virtimo.bpc.core.auditlog.OpenSearchAuditLogger.auditlog.cleanupPeriodInMinutes
Interval in minutes for automatic cleanup.

-1 (disabled)

de.virtimo.bpc.core.auditlog.OpenSearchAuditLogger.auditlog.deleteEntriesOlderThan
Maximum age of entries that are deleted from the index bpc-auditlog during cleanup.
Example: 1 year ago

Not set (disabled)

de.virtimo.bpc.core.auditlog.OpenSearchsearchAuditLogger.auditlog.backupEnabled
Enables regular backups of the bpc-auditlog index.

true

de.virtimo.bpc.core.auditlog.OpenSearchsearchAuditLogger.auditlog.backupIntervalInSeconds
Time interval in seconds between two backups.

86400 (every 24 hours)

de.virtimo.bpc.core.auditlog.OpenSearchsearchAuditLogger.auditlog.keepBackupsDurationInSeconds
Retention period for backups in seconds. Older backups are automatically removed.

2592000 (30 days)


Keywords: