From 9f08baa4e2b41ef203428783f927e44ffdcb0135 Mon Sep 17 00:00:00 2001 From: Lubos Racansky Date: Tue, 12 Sep 2023 07:46:00 +0200 Subject: [PATCH] Fix name --- docs/Configuration-Properties.md | 2 +- .../app/server/configuration/PowerAuthServiceConfiguration.java | 2 +- powerauth-java-server/src/main/resources/application.properties | 2 +- powerauth-java-server/src/test/resources/application.properties | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/Configuration-Properties.md b/docs/Configuration-Properties.md index c37762764..78622dd2c 100644 --- a/docs/Configuration-Properties.md +++ b/docs/Configuration-Properties.md @@ -31,7 +31,7 @@ The PowerAuth Server uses the following public configuration properties: | `powerauth.service.crypto.activationValidityInMilliseconds` | `120000` | Default activation validity period in milliseconds | | `powerauth.service.crypto.signatureMaxFailedAttempts` | `5` | Maximum failed attempts for signature verification | | `powerauth.service.crypto.requestExpirationInMilliseconds` | `60000` | Expiration for ECIES and MAC token requests. | -| `powerauth.service.crypto.requestExpirationExtendedInMilliseconds` | `7200000` | Expiration for ECIES and MAC token requests for protocol versions 3.1 and older. | +| `powerauth.service.crypto.requestExpirationInMillisecondsExtended` | `7200000` | Expiration for ECIES and MAC token requests for protocol versions 3.1 and older. | | `powerauth.service.crypto.replayVerificationService` | `default` | Request replay verification service, options: `default`, `none` | | `powerauth.service.token.timestamp.validity` | `7200000` | PowerAuth MAC token timestamp validity in milliseconds | | `powerauth.service.recovery.maxFailedAttempts` | `5` | Maximum failed attempts for activation recovery | diff --git a/powerauth-java-server/src/main/java/io/getlime/security/powerauth/app/server/configuration/PowerAuthServiceConfiguration.java b/powerauth-java-server/src/main/java/io/getlime/security/powerauth/app/server/configuration/PowerAuthServiceConfiguration.java index a69fef6f8..f63fb9de1 100644 --- a/powerauth-java-server/src/main/java/io/getlime/security/powerauth/app/server/configuration/PowerAuthServiceConfiguration.java +++ b/powerauth-java-server/src/main/java/io/getlime/security/powerauth/app/server/configuration/PowerAuthServiceConfiguration.java @@ -172,7 +172,7 @@ public class PowerAuthServiceConfiguration { /** * Expiration of timestamps for ECIES and MAC token requests for protocol version 3.1 or older. */ - @Value("${powerauth.service.crypto.requestExpirationExtendedInMilliseconds}") + @Value("${powerauth.service.crypto.requestExpirationInMillisecondsExtended}") @DurationMin(millis = 0) private Duration requestExpirationExtended; diff --git a/powerauth-java-server/src/main/resources/application.properties b/powerauth-java-server/src/main/resources/application.properties index 33d37a6aa..106b2a62f 100644 --- a/powerauth-java-server/src/main/resources/application.properties +++ b/powerauth-java-server/src/main/resources/application.properties @@ -56,7 +56,7 @@ powerauth.service.crypto.signatureMaxFailedAttempts=5 powerauth.service.crypto.signatureValidationLookahead=20 powerauth.service.crypto.offlineSignatureComponentLength=8 powerauth.service.crypto.requestExpirationInMilliseconds=60000 -powerauth.service.crypto.requestExpirationExtendedInMilliseconds=7200000 +powerauth.service.crypto.requestExpirationInMillisecondsExtended=7200000 powerauth.service.crypto.replayVerificationService=default # HTTP Proxy Settings diff --git a/powerauth-java-server/src/test/resources/application.properties b/powerauth-java-server/src/test/resources/application.properties index 65e559e0b..ccb35374f 100644 --- a/powerauth-java-server/src/test/resources/application.properties +++ b/powerauth-java-server/src/test/resources/application.properties @@ -43,7 +43,7 @@ powerauth.service.crypto.signatureMaxFailedAttempts=5 powerauth.service.crypto.signatureValidationLookahead=20 powerauth.service.crypto.offlineSignatureComponentLength=8 powerauth.service.crypto.requestExpirationInMilliseconds=60000 -powerauth.service.crypto.requestExpirationExtendedInMilliseconds=7200000 +powerauth.service.crypto.requestExpirationInMillisecondsExtended=7200000 powerauth.service.crypto.replayVerificationService=default # HTTP Proxy Settings