Hi, By default CryptoMapper encrypts the urls for not mounted pages and resources, i.e. ones which urls do not start with /wicket/bookmarkable/ or /wicket/resource/. The assumption is that you the page is mounted then the developer would like to use its friendly url. The methods are protected so you could override the default behavior.
Martin Grigorov Wicket Training and Consulting https://twitter.com/mtgrigorov On Thu, Oct 15, 2015 at 5:22 PM, Rakesh A <[email protected]> wrote: > Hi, > > I am trying to generate URLs for mounted resources, and use them later > (from > JavaScript). I expected using 'RequestCycle#urlFor()' with CryptoMapper > enabled will result encrypted urls. But I see I am wrong, and > implementation > in "CryptoMapper#encryptUrl(Url)" (gets into else block and calls > encryptRequestListenerParameter()) results plain text urls. > > Is there any way, to get/generate encrypted URLs for mounted > resources/pages. > > Attached quickstart to show the behavior. > > example1.zip > <http://apache-wicket.1842946.n4.nabble.com/file/n4672249/example1.zip> > > Regards, > Rakesh.A > > > -- > View this message in context: > http://apache-wicket.1842946.n4.nabble.com/CryptoMapper-and-mounted-resource-URLs-tp4672249.html > Sent from the Users forum mailing list archive at Nabble.com. > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > >
