Just to close the loop here.  If setRootRequestMapper(new HttpsMapper... is
done before you add your mounts, they will not be enabled for SSL.  I've
added and updated the Wiki to reflect this as well as requested the line in
the javadoc where this is be mentioned be made more prominent.

Jeremy


On Tue, Jan 15, 2013 at 10:24 AM, Jeremy Levy <jel...@gmail.com> wrote:

> Thanks-  Done.
>
> https://issues.apache.org/jira/browse/WICKET-4979
>
>
> On Tue, Jan 15, 2013 at 3:05 AM, Martin Grigorov <mgrigo...@apache.org>wrote:
>
>> Hi,
>>
>> Please create a ticket and attach your quickstart.
>> It will be good to fix this for 6.5.0 (scheduled for this Friday (Jan
>> 18)).
>>
>>
>> On Tue, Jan 15, 2013 at 3:18 AM, Jeremy Levy <jel...@gmail.com> wrote:
>>
>> > I believe I may have stumbled upon somewhat serious issue with 6.4.0
>> (and
>> > possibly earlier).  A page that is annotated with @RequiresHttps and is
>> > mounted with any encoding method, when requested directly, or linked to
>> is
>> > not switched over to https. If the page is not specifically mounted it
>> > works as expected.
>> >
>> > I was able to recreate this in my application as well as in a standalone
>> > 'quickstart' project.  As far as I could see
>> > HttpsMapper.getDesiredSchemeFor wasn't even being called for the mounted
>> > pages.
>> >
>> > I'll debug the issue tomorrow and submit a patch if I can figure it out,
>> > however I thought this was serious enough to bring up here right away.
>> >
>> > Jeremy
>> >
>> > --
>> > Jeremy Levy
>> >
>>
>>
>>
>> --
>> Martin Grigorov
>> jWeekend
>> Training, Consulting, Development
>> http://jWeekend.com <http://jweekend.com/>
>>
>
>
>
> --
> Jeremy Levy
>



-- 
Jeremy Levy

Reply via email to