From 1abbda7a51324fc67e451588ce6741fc86d79266 Mon Sep 17 00:00:00 2001 From: Sean Lin Date: Wed, 25 Sep 2019 14:42:49 -0700 Subject: [PATCH] Fix cache maxAge config key name (#207) --- gradle.properties | 2 +- .../com/nike/cerberus/server/config/guice/CmsGuiceModule.java | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/gradle.properties b/gradle.properties index f9d25567c..6a5f549b8 100644 --- a/gradle.properties +++ b/gradle.properties @@ -14,6 +14,6 @@ # limitations under the License. # -version=3.32.1 +version=3.32.2 groupId=com.nike.cerberus artifactId=cms diff --git a/src/main/java/com/nike/cerberus/server/config/guice/CmsGuiceModule.java b/src/main/java/com/nike/cerberus/server/config/guice/CmsGuiceModule.java index a10bb1f33..6e8c6d6d6 100644 --- a/src/main/java/com/nike/cerberus/server/config/guice/CmsGuiceModule.java +++ b/src/main/java/com/nike/cerberus/server/config/guice/CmsGuiceModule.java @@ -381,7 +381,7 @@ static class KmsDataKeyCachingOptionalPropertyHolder { int encryptMaxSize = 0; @Inject(optional=true) - @com.google.inject.name.Named("cms.encryption.cache.encrypt.maxAge") + @com.google.inject.name.Named("cms.encryption.cache.encrypt.maxAgeInSeconds") int encryptMaxAge = 0; @Inject(optional=true) @@ -393,7 +393,7 @@ static class KmsDataKeyCachingOptionalPropertyHolder { int decryptMaxSize = 0; @Inject(optional=true) - @com.google.inject.name.Named("cms.encryption.cache.decrypt.maxAge") + @com.google.inject.name.Named("cms.encryption.cache.decrypt.maxAgeInSeconds") int decryptMaxAge = 0; } }