Robert Munteanu created SLING-12450:
---------------------------------------
Summary: Commons Crypto sample and documentation references
incorrect Factory PID
Key: SLING-12450
URL: https://issues.apache.org/jira/browse/SLING-12450
Project: Sling
Issue Type: Bug
Components: Commons, Documentation
Reporter: Robert Munteanu
https://sling.apache.org/documentation/bundles/commons-crypto.html as well as
https://github.com/apache/sling-samples/blob/master/sling-commons-crypto-configuration/src/main/resources/initial-content/apps/samples/commons-crypto/config/org.apache.sling.commons.crypto.jasypt.internal.JasyptStandardPBEStringCryptoService~sample.json
use and incorrect config name that translate into an incorrect factory PID
The "PBE" part is actually "Pbe" in the OSGi component definitions, see
https://github.com/apache/sling-org-apache-sling-commons-crypto/blob/607fed7f5db7fce08ffd24b9cd39bec3c1966d39/src/main/java/org/apache/sling/commons/crypto/jasypt/internal/JasyptStandardPbeStringCryptoService.java#L60
.
I noticed this while defining the config in the feature model, but I suspect
the OSGi installer will have the same issues.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)