Exit AD0-E103 Adobe Experience Manager Developer
Question 1 of 5
0% complete
Q1 Single choice

An application contains an OSGi configuration that contains a password.

How should a developer prevent this sensitive information from being stored in plain text in JCR?

  • A

    1. Use console at /system/console/crypto to encrypt the value.
    2. Either create an encrypted value for each AEM instance and use runmodes to apply the different values or make sure relevant instances share the same master key.
    3. When loading the value in the code, call CryptoSupport.unprotect(...) before using the value.

  • B

    1. Use console at /system/console/configMgr and tick the checkbox "encrypt" before saving a configuration.

    2. Use encrypted values work across all instances.
    3. When loading the value in the code, call CryptoSupport.unprotect(...) before using the value.

  • C

    1. Use console at /system/console/ configMgr and tick the checkbox "encrypt" before saving a configuration.
    2. Either create an encrypted value for each AEM instance and use runmodes to apply the different values or make sure relevant instances share the same master key.
    3. Sensitive information is automatically decrypted using the CryptoSupport OSGi service before the value is returned.

  • D

    1. Use console at /system/console/crypto to encrypt the value.
    2. Either create an encrypted value for each AEM instance and use runmodes to apply the different values or make sure relevant instances share the same master key.
    3. Sensitive information is automatically decrypted using the CryptoSupport OSGi service before the value is returned.

Previous Next