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 java.lang.Object implements ICryptFactory
Crypt factory that creates theICrypt
object by instantiating a provided class. The class must implementICrypt
.- Author:
- Igor Vaynberg (ivaynberg)
-
-
Constructor Summary
Constructors Constructor Description ClassCryptFactory(java.lang.Class<?> cryptClass, java.lang.String encryptionKey)
Construct.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ICrypt
newCrypt()
-
-
-
Method Detail
-
newCrypt
public ICrypt newCrypt()
- Specified by:
newCrypt
in interfaceICryptFactory
- Returns:
- new crypt object
-
-