Hi,

Yes. This is the correct way.
It is the default in 6.19.0
On Jul 4, 2015 2:51 AM, "Steve Swinsburg" <steve.swinsb...@gmail.com> wrote:

> OK solved:
>
> getSecuritySettings().setCryptFactory(new
> KeyInSessionSunJceCryptFactory()); //diff key per user
> final IRequestMapper cryptoMapper = new
> CryptoMapper(getRootRequestMapper(), this);
> setRootRequestMapper(cryptoMapper);
>
> On Fri, Jul 3, 2015 at 9:58 PM, Steve Swinsburg <steve.swinsb...@gmail.com
> >
> wrote:
>
> > Hi all,
> >
> > I am using the cryptomapper to encrypt some URLs and am finding that
> every
> > logged in user is getting the same encrypted URL for the same pages.
> > ie to go to x page is http://url?wicket-crypt=Uqcgp... for both user A
> > and user B.
> >
> > Is there any way to make this unique for each user?
> >
> > In my Application class I have:
> >
> > IRequestMapper cryptoMapper = new CryptoMapper(getRootRequestMapper(),
> > this);
> > setRootRequestMapper(cryptoMapper);
> >
> > Wicket 6.18.0
> >
> > Thanks,
> > Steve
> >
>

Reply via email to