public class KeyInSessionSunJceCryptFactory extends Object implements org.apache.wicket.util.crypt.ICryptFactory
SunJceCrypt instances based on session-specific
encryption key. This allows each user to have his own encryption key, hardening against CSRF
attacks.
| Constructor and Description |
|---|
KeyInSessionSunJceCryptFactory()
Constructor using
Cipher "PBEWithMD5AndDES" |
KeyInSessionSunJceCryptFactory(String cryptMethod)
Constructor that uses a custom
Cipher |
| Modifier and Type | Method and Description |
|---|---|
protected org.apache.wicket.util.crypt.ICrypt |
createCrypt() |
org.apache.wicket.util.crypt.ICrypt |
newCrypt() |
public KeyInSessionSunJceCryptFactory()
Cipher "PBEWithMD5AndDES"Copyright © 2006–2018 Apache Software Foundation. All rights reserved.