Class SimpleDecryptionService

  • All Implemented Interfaces:
    DecryptionService

    public class SimpleDecryptionService
    extends Object
    implements DecryptionService
    This service is only used as fallback in case AemCryptoDecryptionService is not available.
    • Constructor Detail

      • SimpleDecryptionService

        public SimpleDecryptionService()
    • Method Detail

      • decrypt

        public String decrypt​(String text)
        Description copied from interface: DecryptionService
        Decrypts the given parameter in case it is encrypted. Otherwise returns the given parameter unmodified.
        Specified by:
        decrypt in interface DecryptionService
        Parameters:
        text - the potentially encrypted text
        Returns:
        the decrypted text