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 Summary
Fields Modifier and Type Field Description protected long
delay
protected int
maxLength
protected org.craftercms.commons.crypto.TextEncryptor
textEncryptor
-
Constructor Summary
Constructors Constructor Description EncryptionServiceInternalImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
encrypt(String text)
long
getDelay()
int
getMaxLength()
void
setDelay(long delay)
void
setMaxLength(int maxLength)
void
setTextEncryptor(org.craftercms.commons.crypto.TextEncryptor textEncryptor)
-
-
-
Method Detail
-
encrypt
public String encrypt(String text) throws ServiceLayerException
- Specified by:
encrypt
in 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)
-
-