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
Crypt factory that creates the ICrypt
object by instantiating a provided class. The class
must implement ICrypt
.
- Author:
- Igor Vaynberg (ivaynberg)
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ClassCryptFactory
public ClassCryptFactory(Class<?> cryptClass,
String encryptionKey)
- Construct.
- Parameters:
cryptClass
- class that will be instantiated to represent the ICrypt objectencryptionKey
- encryption key
newCrypt
public ICrypt newCrypt()
- Specified by:
newCrypt
in interface ICryptFactory
- Returns:
- new crypt object
- See Also:
ICryptFactory.newCrypt()
Copyright © 2004-2011 Apache Software Foundation. All Rights Reserved.