Configuration Properties

The Push Server uses the following public configuration properties:

Database Configuration

Property Default Note
spring.datasource.url jdbc:postgresql://localhost:5432/powerauth Database JDBC URL
spring.datasource.username powerauth Database JDBC username
spring.datasource.password _empty_ Database JDBC password
spring.datasource.driver-class-name org.postgresql.Driver Datasource JDBC class name utf8 Character encoding true Character encoding - Unicode support

PowerAuth Service Configuration

Property Default Note
powerauth.service.url http://localhost:8080/powerauth-java-server/rest PowerAuth service REST API base URL _empty_ PowerAuth REST API authentication token _empty_ PowerAuth REST API authentication secret / password
powerauth.service.ssl.acceptInvalidSslCertificate false Flag indicating if connections using untrusted TLS certificate should be made to the PowerAuth Service

PowerAuth Push Service Configuration

Property Default Note
powerauth.push.service.applicationName powerauth-push Technical name of the instance
powerauth.push.service.applicationDisplayName PowerAuth Push Server Display name of the instance
powerauth.push.service.applicationEnvironment _empty_ Environment identifier false Whether persistent storing of sent messages is enabled
powerauth.push.service.registration.multipleActivations.enabled false Whether push registration supports “associated activations”

PowerAuth Push Campaign Setup

Property Default Note
powerauth.push.service.campaign.batchSize 100000 Default batch size for a campaign sending

Certificate Configuration

Property Default Note changeit Java security CA certs file password

APNs Configuration

Property Default Note
powerauth.push.service.apns.useDevelopment true Flag indicating that the development instance of APNS service should be used
powerauth.push.service.apns.proxy.enabled false Flag indicating if the communication needs to go through proxy Proxy host
powerauth.push.service.apns.proxy.port 8080 Proxy port
powerauth.push.service.apns.proxy.username _empty_ Proxy username
powerauth.push.service.apns.proxy.password _empty_ Proxy password
powerauth.push.service.apns.connect.timeout 5000 Push message gateway connect timeout in milliseconds
powerauth.push.service.apns.idlePingInterval 60000 Interval in milliseconds specifying the frequency of APNS ping calls in idle state
powerauth.push.service.apns.concurrentConnections 1 Push message concurrency settings

FCM Configuration

Property Default Note
powerauth.push.service.fcm.proxy.enabled false Flag indicating if the communication needs to go through proxy Proxy host
powerauth.push.service.fcm.proxy.port 8080 Proxy port
powerauth.push.service.fcm.proxy.username _empty_ Proxy username
powerauth.push.service.fcm.proxy.password _empty_ Proxy password
powerauth.push.service.fcm.dataNotificationOnly false Flag indicating that FCM service should never use “notification” format, only a data format with extra payload representing the notification
powerauth.push.service.fcm.sendMessageUrl Default URL for the FCM service
powerauth.push.service.fcm.connect.timeout 5000 Push message gateway connect timeout in milliseconds

Correlation HTTP Header Configuration

Property Default Note
powerauth.service.correlation-header.enabled false Whether correlation header is enabled X-Correlation-ID Correlation header name
powerauth.service.correlation-header.value.validation-regexp [a-zA-Z0-9\\-]{8,1024} Regular expression for correlation header value validation
logging.pattern.console See Logging pattern for console which includes the correlation header value

Monitoring and Observability

The WAR file includes the micrometer-registry-prometheus dependency. Discuss its configuration with the Spring Boot documentation.

Last updated on Dec 21, 2023 (08:04) Edit on Github Send Feedback


PowerAuth Push Server