Interface DecryptionService

  • All Known Implementing Classes:
    SimpleDecryptionService

    public interface DecryptionService
    Interface for decrypting encrypted text. This allows to decouple from a concrete (AEM-specific) interface like CryptoSupport
    • Method Detail

      • decrypt

        String decrypt​(String text)
        Decrypts the given parameter in case it is encrypted. Otherwise returns the given parameter unmodified.
        Parameters:
        text - the potentially encrypted text
        Returns:
        the decrypted text