Class KeyInSessionSunJceCryptFactory

  • All Implemented Interfaces:
    ICryptFactory

    public class KeyInSessionSunJceCryptFactory
    extends AbstractKeyInSessionCryptFactory<org.apache.wicket.core.util.crypt.KeyInSessionSunJceCryptFactory.CryptData>
    Crypt factory that produces SunJceCrypt instances based on session-specific encryption key. This allows each user to have his own encryption key, hardening against CSRF attacks.
    Note that the use of this crypt factory will result in an immediate creation of a session.
    Author:
    igor.vaynberg