Class EncryptionServiceImpl
- java.lang.Object
-
- org.craftercms.studio.impl.v2.service.security.EncryptionServiceImpl
-
- All Implemented Interfaces:
EncryptionService
public class EncryptionServiceImpl extends Object implements EncryptionService
- Author:
- joseross
-
-
Field Summary
Fields Modifier and Type Field Description protected EncryptionServiceInternal
encryptionServiceInternal
-
Constructor Summary
Constructors Constructor Description EncryptionServiceImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
encrypt(String siteId, String text)
Encrypt textEncryptionServiceInternal
getEncryptionServiceInternal()
void
setEncryptionServiceInternal(EncryptionServiceInternal encryptionServiceInternal)
-
-
-
Field Detail
-
encryptionServiceInternal
protected EncryptionServiceInternal encryptionServiceInternal
-
-
Method Detail
-
encrypt
public String encrypt(String siteId, String text) throws ServiceLayerException
Description copied from interface:EncryptionService
Encrypt text- Specified by:
encrypt
in interfaceEncryptionService
- Parameters:
siteId
- site identifiertext
- text to encrypt- Returns:
- encrypted text
- Throws:
ServiceLayerException
- general service error
-
getEncryptionServiceInternal
public EncryptionServiceInternal getEncryptionServiceInternal()
-
setEncryptionServiceInternal
public void setEncryptionServiceInternal(EncryptionServiceInternal encryptionServiceInternal)
-
-