how to get https port number in Wicket 1.5

2012-01-14 Thread armhold
Assuming that the http/https port number have been set in WicketApplication with the following: setRootRequestMapper(new HttpsMapper(getRootRequestMapper(), new HttpsConfig(8080, 8443))); ... is there any way to get access to the port numbers from components? One obvious solution is

Re: how to get https port number in Wicket 1.5

2012-01-14 Thread Per Newgro
Stupid question. Is @RequireHttps at Form class working? Cheers Per Am 14.01.2012 17:44, schrieb armhold: Assuming that the http/https port number have been set in WicketApplication with the following: setRootRequestMapper(new HttpsMapper(getRootRequestMapper(), new HttpsConfig(8080,

Re: how to get https port number in Wicket 1.5

2012-01-14 Thread Per Newgro
Stupid = my question not yours :-). Only for clearify it :-) Am 14.01.2012 19:05, schrieb Per Newgro: Stupid question. Is @RequireHttps at Form class working? Cheers Per Am 14.01.2012 17:44, schrieb armhold: Assuming that the http/https port number have been set in WicketApplication with

Re: how to get https port number in Wicket 1.5

2012-01-14 Thread armhold
Hi Per, The documentation for @RequireHttps implies that it only works for pages, not components, and my (limited) testing shows that to be the case. Is there a way to use it with components on otherwise insecure pages? My use case is to secure a form on non-https pages, specifically to secure

Wicket spring security sample app

2012-01-14 Thread Brian Lavender
Does someone have a sample of the current spring security with Wicket auth-roles? One that I can do the following. mvn jetty:run and see it run? brian -- Brian Lavender http://www.brie.com/brian/ There are two ways of constructing a software design. One way is to make it so simple that