Package org.apache.wicket.util.crypt
Class ClassCryptFactory
- java.lang.Object
-
- org.apache.wicket.util.crypt.ClassCryptFactory
-
- All Implemented Interfaces:
ICryptFactory
public class ClassCryptFactory extends Object implements ICryptFactory
Deprecated.use a lambda expression instead TODO remove in Wicket 10Crypt factory that creates theICrypt
object by instantiating a provided class. The class must implementICrypt
.- Author:
- Igor Vaynberg (ivaynberg)
-
-
Constructor Summary
Constructors Constructor Description ClassCryptFactory(Class<?> cryptClass, String encryptionKey)
Deprecated.Construct.
-
-
-
Constructor Detail
-
ClassCryptFactory
public ClassCryptFactory(Class<?> cryptClass, String encryptionKey)
Deprecated.Construct.- Parameters:
cryptClass
- class that will be instantiated to represent the ICrypt objectencryptionKey
- encryption key
-
-
Method Detail
-
newCrypt
public ICrypt newCrypt()
Deprecated.- Specified by:
newCrypt
in interfaceICryptFactory
- Returns:
- new crypt object
-
-