As for the external link thing, why don't you create your own 'securelink' component that does this for you.
You could go overboard with either having a page implement some ISecuredPage interface, or an @Secured annotation, and have your own page link component check that to generate https instead of http.
Martijn
On 3/22/06, John Patterson <[EMAIL PROTECTED]> wrote:
OK Thanks. It would get a bit messy to check this for every link ie links on
secure pages going back to http also.
I can set up redirections in Apache but this requires two requests eg the
first http request returns a redirect to the https listener and it is also
non portable. Unfortunately the transport-guarantee CONFIDENTIAL in web.xml
only handles moving you from http to https.
It would be great if PageLink had some kind of framework like the
AuthorisationStrategy so it could tell which Page classes needed to be
confidential (or not) and automatically generated the full URLs.
Is there any work planned on this already?
On Wednesday 22 Mar 2006 04:38, Johan Compagner wrote:
> the only thing i can think of right now is use the ExternalLink to specify
> the full url
> where you want to move to
>
> johan
>
> On 3/21/06, John Patterson <[EMAIL PROTECTED]> wrote:
> > Hi,
> >
> > Is there a standard way to handle switching between http and https?
> >
> > Thanks,
> >
> > John.
> >
> >
> > -------------------------------------------------------
> > This SF.Net email is sponsored by xPML, a groundbreaking scripting
> > language
> > that extends applications into web and mobile media. Attend the live
> > webcast
> > and join the prime developer group breaking into this new coding
> > territory!
> > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
> > _______________________________________________
> > Wicket-user mailing list
> > [email protected]
> > https://lists.sourceforge.net/lists/listinfo/wicket-user
-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
Wicket-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wicket-user
--
Cast your final vote for Wicket in the SourceForge.net 2006 Community Choice Awards!
http://www.wilsonresearch.com/2006/ostgawards06/ostgawards4.php
