You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@sling.apache.org by ol...@apache.org on 2019/12/12 16:51:10 UTC
[sling-org-apache-sling-commons-crypto] 03/03: SLING-8884 Provide a
file-based password provider
This is an automated email from the ASF dual-hosted git repository.
olli pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/sling-org-apache-sling-commons-crypto.git
commit f22ce8ee678855950267da3fa441befdabaa6713
Author: Oliver Lietz <ol...@apache.org>
AuthorDate: Thu Dec 12 16:27:22 2019 +0100
SLING-8884 Provide a file-based password provider
Mark names configuration property as not required and remove default
---
.../commons/crypto/internal/FilePasswordProviderConfiguration.java | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/src/main/java/org/apache/sling/commons/crypto/internal/FilePasswordProviderConfiguration.java b/src/main/java/org/apache/sling/commons/crypto/internal/FilePasswordProviderConfiguration.java
index f7e6643..cefdfbe 100644
--- a/src/main/java/org/apache/sling/commons/crypto/internal/FilePasswordProviderConfiguration.java
+++ b/src/main/java/org/apache/sling/commons/crypto/internal/FilePasswordProviderConfiguration.java
@@ -29,9 +29,10 @@ import org.osgi.service.metatype.annotations.ObjectClassDefinition;
@AttributeDefinition(
name = "Names",
- description = "names of this service"
+ description = "names of this service",
+ required = false
)
- String[] names() default {"default"};
+ String[] names() default {};
@AttributeDefinition(
name = "Path",