Re: cryptomapper uses the same wicket-crypt params for each user

2015-07-04 Thread Martin Grigorov
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
 



Re: cryptomapper uses the same wicket-crypt params for each user

2015-07-04 Thread Steve Swinsburg
Thanks for the confirmation, Martin.
Regards.

On Sat, Jul 4, 2015 at 4:32 PM, Martin Grigorov mgrigo...@apache.org
wrote:

 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
  
 



Re: cryptomapper uses the same wicket-crypt params for each user

2015-07-03 Thread Steve Swinsburg
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



cryptomapper uses the same wicket-crypt params for each user

2015-07-03 Thread Steve Swinsburg
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