Configuration Properties

The Onboarding 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
spring.jpa.database-platform org.hibernate.dialect.PostgreSQLDialect Database dialect
spring.jpa.hibernate.ddl-auto none Configuration of automatic database schema creation
spring.jpa.properties.hibernate.connection.characterEncoding utf8 Character encoding
spring.jpa.properties.hibernate.connection.useUnicode 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.
powerauth.service.security.clientToken _empty_ PowerAuth REST API authentication token.
powerauth.service.security.clientSecret _empty_ PowerAuth REST API authentication secret / password.

Onboarding Process Configuration

Property Default Note
enrollment-server-onboarding.onboarding-process.enabled false Whether the onboarding process is enabled.
enrollment-server-onboarding.onboarding-process.otp.length 8 Length of generated digital OTP codes.
enrollment-server-onboarding.onboarding-process.otp.expiration 5m Expiration time for OTP codes.
enrollment-server-onboarding.onboarding-process.otp.max-failed-attempts 5 Maximum number of failed attempts for OTP verification.
enrollment-server-onboarding.onboarding-process.otp.resend-period 30s A time period after which next OTP can be sent.
enrollment-server-onboarding.onboarding-process.expiration 3h Onboarding process expiration time.
enrollment-server-onboarding.onboarding-process.activation.expiration 5m Expiration of activations used within an onboarding process.
enrollment-server-onboarding.onboarding-process.verification.expiration 1h Expiration of identity verification within an onboarding process.
enrollment-server-onboarding.onboarding-process.max-processes-per-day 5 Maximum number of onboarding processes during last 24 hours per user.
enrollment-server-onboarding.onboarding-process.max-error-score 15 Maximum error score for an onboarding process.

Identity Verification Configuration

Property Default Note
enrollment-server-onboarding.identity-verification.enabled false Whether identity verification is enabled.
enrollment-server-onboarding.identity-verification.data-retention 1h Data retention time for identity verification.
enrollment-server-onboarding.identity-verification.otp.enabled true Whether OTP verification is enabled during identity verification.
enrollment-server-onboarding.identity-verification.max-failed-attempts 5 Maximum failed attempts for identity verification.
enrollment-server-onboarding.identity-verification.max-failed-attempts-document-upload 5 Maximum failed attempts for document upload.
enrollment-server-onboarding.client-evaluation.max-failed-attempts 5 Maximum failed attempts for client evaluation.

Digital Onboarding Adapter Configuration

Property Default Note
enrollment-server-onboarding.onboarding-adapter.url http://localhost:8090 Digital onboarding adapter service base URL.
enrollment-server-onboarding.onboarding-adapter.connection-timeout 2s TCP connection timeout.
enrollment-server-onboarding.onboarding-adapter.handshake-timeout 5s Handshake timeout.
enrollment-server-onboarding.onboarding-adapter.response-timeout 5s HTTP response timeout.
enrollment-server-onboarding.onboarding-adapter.accept-invalid-ssl-certificate false Whether invalid SSL certificates are accepted by the client.
enrollment-server-onboarding.onboarding-adapter.http-basic-auth-enabled false Whether HTTP Basic authentication is enabled.
enrollment-server-onboarding.onboarding-adapter.http-basic-auth-username   HTTP Basic authentication username.
enrollment-server-onboarding.onboarding-adapter.http-basic-auth-password   HTTP Basic authentication password.
enrollment-server-onboarding.onboarding-adapter.correlation-header.name X-Correlation-Id HTTP correlation header name.
enrollment-server-onboarding.onboarding-adapter.request-id-header.name X-Request-Id HTTP request ID header name.
enrollment-server-onboarding.onboarding-adapter.headers   Custom HTTP headers configuration.

Client Evaluation Configuration

Property Default Note
enrollment-server-onboarding.client-evaluation.max-failed-attempts 5 Number of maximum failed attempts for client evaluation.

Document Verification Provider Configuration

Property Default Note
enrollment-server-onboarding.document-verification.provider mock Document verification provider (mock, zenid).
enrollment-server-onboarding.document-verification.cleanupEnabled false Whether document cleanup is enabled for the provider.
enrollment-server-onboarding.document-verification.checkInProgressDocumentSubmits 0/5 * * * * * Cron scheduler for checking status of submitted documents.
enrollment-server-onboarding.document-verification.checkDocumentsVerifications.cron 0/5 * * * * * Cron scheduler for checking pending document verifications.
enrollment-server-onboarding.document-verification.checkDocumentSubmitVerifications.cron 0/5 * * * * * Cron scheduler for checking document submit verifications.
enrollment-server-onboarding.document-verification.required.primaryDocuments ID_CARD Required primary document types to be present. Possible values: ID_CARD, PASSPORT
enrollment-server-onboarding.document-verification.required.count 2 Required count of documents to be present.

Presence Check Provider Configuration

Property Default Note
enrollment-server-onboarding.presence-check.enabled true Whether presence check provider is enabled.
enrollment-server-onboarding.presence-check.provider mock Presen check provider (mock, iproov).
enrollment-server-onboarding.presence-check.cleanupEnabled false Whether cleanup of presence check data is enabled.
enrollment-server-onboarding.presence-check.verifySelfieWithDocumentsEnabled false Whether verification of the presence check selfie photo with the documents is enabled.
enrollment-server-onboarding.presence-check.max-failed-attempts 5 Maximum failed attempts for presence check and OTP verification.

Zen ID Configuration

Property Default Note
enrollment-server-onboarding.document-verification.zenid.apiKey   Zen ID REST API key.
enrollment-server-onboarding.document-verification.zenid.additionalDocSubmitValidationsEnabled true Whether additional document validations are applied after document submission.
enrollment-server-onboarding.document-verification.zenid.asyncProcessingEnabled false Whether asynchronous processing is enabled for Zen ID provider.
enrollment-server-onboarding.document-verification.zenid.documentCountry Cz Zen ID country configuration for submitted documents.
enrollment-server-onboarding.document-verification.zenid.serviceBaseUrl   Base REST service URL for Zen ID.
enrollment-server-onboarding.document-verification.zenid.serviceUserAgent Wultra/OnboardingServer User agent to use when making HTTP calls to Zen ID REST service.
enrollment-server-onboarding.document-verification.zenid.profile   Optional profile name to determine Zen ID validators configuration.
enrollment-server-onboarding.document-verification.zenid.restClientConfig.acceptInvalidSslCertificate false Whether invalid SSL certificate is accepted when calling Zen ID REST service.
enrollment-server-onboarding.document-verification.zenid.restClientConfig.maxInMemorySize 10485760 Maximum in memory size of HTTP requests when calling Zen ID REST service.
enrollment-server-onboarding.document-verification.zenid.restClientConfig.proxyEnabled false Whether proxy server is enabled when calling Zen ID REST service.
enrollment-server-onboarding.document-verification.zenid.restClientConfig.proxyHost   Proxy host to be used when calling Zen ID REST service.
enrollment-server-onboarding.document-verification.zenid.restClientConfig.proxyPort 0 Proxy port to be used when calling Zen ID REST service.
enrollment-server-onboarding.document-verification.zenid.restClientConfig.proxyUsername   Proxy username to be used when calling Zen ID REST service.
enrollment-server-onboarding.document-verification.zenid.restClientConfig.proxyPassword   Proxy password to be used when calling Zen ID REST service.

iProov Configuration

Property Default Note
enrollment-server-onboarding.presence-check.iproov.apiKey   iProov REST API key.
enrollment-server-onboarding.presence-check.iproov.apiSecret   iProov REST API secret.
enrollment-server-onboarding.presence-check.iproov.assuranceType genuine_presence iProov assurance type.
enrollment-server-onboarding.presence-check.iproov.ensureUserIdValueEnabled false Whether iProov user ID value should be validated and trimmed.
enrollment-server-onboarding.presence-check.iproov.riskProfile   iProov risk profile.
enrollment-server-onboarding.presence-check.iproov.serviceBaseUrl   Base REST service URL for iProov.
enrollment-server-onboarding.presence-check.iproov.serviceHostname   Hostname to be used for iProov REST service calls.
enrollment-server-onboarding.presence-check.iproov.serviceUserAgent Wultra/OnboardingServer User agent to use when making HTTP calls to iProov REST service.
enrollment-server-onboarding.presence-check.iproov.restClientConfig.acceptInvalidSslCertificate false Whether invalid SSL certificate is accepted when calling Zen ID REST service.
enrollment-server-onboarding.document-verification.zenid.restClientConfig.maxInMemorySize 10485760 Maximum in memory size of HTTP requests when calling iProov REST service.
enrollment-server-onboarding.presence-check.iproov.zenid.restClientConfig.proxyEnabled false Whether proxy server is enabled when calling iProov REST service.
enrollment-server-onboarding.presence-check.iproov.zenid.restClientConfig.proxyHost   Proxy host to be used when calling iProov REST service.
enrollment-server-onboarding.presence-check.iproov.zenid.restClientConfig.proxyPort 0 Proxy port to be used when calling iProov REST service.
enrollment-server-onboarding.presence-check.iproov.zenid.restClientConfig.proxyUsername   Proxy username to be used when calling iProov REST service.
enrollment-server-onboarding.presence-check.iproov.zenid.restClientConfig.proxyPassword   Proxy password to be used when calling iProov REST service.

Correlation HTTP Header Configuration

Property Default Note
powerauth.service.correlation-header.enabled false Whether correlation header is enabled
powerauth.service.correlation-header.name 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 application.properties Logging pattern for console which includes the correlation header value
Last updated on Nov 21, 2022 (09:53) Edit on Github Send Feedback
Search

1.4.x

Enrollment Server