Wow.. that is much easier

:)

Is there a way to set a default for the entire app?
I assume if I have a base class for a bunch of pages I only need to define it 
in the parent class?

Douglas

On Mar 1, 2012, at 10:04 AM, Fergal Keating wrote:

>    You can mark specific pages as HTTPS specific using @requiresHttps.
> 
>           Then just set the ports in your application class.
> 
>     setRootRequestMapper(new HttpsMapper(getRootRequestMapper(), new
> HttpsConfig(80, 443)));
> 
> 
> On 1 March 2012 14:10, Douglas Ferguson <the...@gmail.com> wrote:
> 
>> In 1.4 I had ao code up some interesting work arounds to get my app to
>> redirect between http and https based on which page you are requesting.
>> 
>> I remember at the time Igor told me that it would be much easer in 1.5.
>> Can anybody point me in the redirection?
>> 
>> I'm considering 2 schemes.
>> 
>> 1) Running the entire app over ssl (then I just need to detect http and
>> redirect to https)
>> 2) Keep it as is, Only have the login, signup and payment screens be https
>> and then redirect to http.
>> 
>> Regardless I'll need to detect http/https and then redirect if necessary.
>> Would this still be done in the AuthorizationStrategy?
>> 
>> I've noticed that RequestCycle has changed, and many methods I used are
>> gone.
>> I.E. I used to use requestCycle.getPageParameters() to get the parameters
>> do that I when I redirected to login I would retain the params,
>> so after logging in the user could be sent to their original page.
>> 
>> Douglas
>> 
>> 
>> 
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
>> For additional commands, e-mail: users-h...@wicket.apache.org
>> 
>> 
> 
> 
> -- 
> Fergal Keating
> IT Senior Engineer
> -----------------------------------------------
> e. fergal.keat...@directski.com
> p. NA
> w. www.directski.com


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org

Reply via email to