Class EncryptionServiceInternalImpl

java.lang.Object
org.craftercms.studio.impl.v2.service.security.internal.EncryptionServiceInternalImpl
All Implemented Interfaces:
EncryptionServiceInternal

public class EncryptionServiceInternalImpl extends Object implements EncryptionServiceInternal
Author:
joseross
  • Field Details

    • delay

      protected long delay
    • maxLength

      protected int maxLength
    • textEncryptor

      protected org.craftercms.commons.crypto.TextEncryptor textEncryptor
  • Constructor Details

    • EncryptionServiceInternalImpl

      public EncryptionServiceInternalImpl()
  • Method Details

    • encrypt

      public String encrypt(String text) throws ServiceLayerException
      Specified by:
      encrypt in interface EncryptionServiceInternal
      Throws:
      ServiceLayerException
    • getDelay

      public long getDelay()
    • setDelay

      public void setDelay(long delay)
    • getMaxLength

      public int getMaxLength()
    • setMaxLength

      public void setMaxLength(int maxLength)
    • setTextEncryptor

      public void setTextEncryptor(org.craftercms.commons.crypto.TextEncryptor textEncryptor)