Class EncryptionServiceInternalImpl
java.lang.Object
org.craftercms.studio.impl.v2.service.security.internal.EncryptionServiceInternalImpl
- All Implemented Interfaces:
EncryptionServiceInternal
- Author:
- joseross
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected longprotected intprotected org.craftercms.commons.crypto.TextEncryptor -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionlonggetDelay()intvoidsetDelay(long delay) voidsetMaxLength(int maxLength) voidsetTextEncryptor(org.craftercms.commons.crypto.TextEncryptor textEncryptor)
-
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
- Specified by:
encryptin interfaceEncryptionServiceInternal- 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)
-