You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "Antoine van Wel (JIRA)" <ji...@apache.org> on 2011/03/26 14:33:05 UTC

[jira] [Created] (WICKET-3560) mounting @RequireHttps-annotated page after HttpsMapper instantiation ignores @RequireHttps annotation

mounting @RequireHttps-annotated page after HttpsMapper instantiation ignores @RequireHttps annotation
------------------------------------------------------------------------------------------------------

                 Key: WICKET-3560
                 URL: https://issues.apache.org/jira/browse/WICKET-3560
             Project: Wicket
          Issue Type: Bug
            Reporter: Antoine van Wel


Attached quickstart.

Create a page, annotate it with @RequireHttps
First instantiatie HttpsMapper
Then mount the page.

As a result, the page will not be recognized as an annotated page - links will render to http, and no redirection will take place when accessing.


The workaround is simple, just instantiate the HttpsMapper last - maybe this is not a bug..
However a warning or a check would help a lot. Maybe it shouldn't happen at all, and this is really a bug. 










--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Resolved] (WICKET-3560) mounting @RequireHttps-annotated page after HttpsMapper instantiation ignores @RequireHttps annotation

Posted by "Igor Vaynberg (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/WICKET-3560?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Igor Vaynberg resolved WICKET-3560.
-----------------------------------

       Resolution: Fixed
    Fix Version/s: 1.5-RC3
         Assignee: Igor Vaynberg

added note to javadoc

> mounting @RequireHttps-annotated page after HttpsMapper instantiation ignores @RequireHttps annotation
> ------------------------------------------------------------------------------------------------------
>
>                 Key: WICKET-3560
>                 URL: https://issues.apache.org/jira/browse/WICKET-3560
>             Project: Wicket
>          Issue Type: Bug
>    Affects Versions: 1.5-RC2
>            Reporter: Antoine van Wel
>            Assignee: Igor Vaynberg
>             Fix For: 1.5-RC3
>
>         Attachments: httpsswitcher.tar.gz
>
>
> Attached quickstart.
> Create a page, annotate it with @RequireHttps
> First instantiatie HttpsMapper
> Then mount the page.
> As a result, the page will not be recognized as an annotated page - links will render to http, and no redirection will take place when accessing.
> The workaround is simple, just instantiate the HttpsMapper last - maybe this is not a bug..
> However a warning or a check would help a lot. Maybe it shouldn't happen at all, and this is really a bug. 

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Updated] (WICKET-3560) mounting @RequireHttps-annotated page after HttpsMapper instantiation ignores @RequireHttps annotation

Posted by "Antoine van Wel (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/WICKET-3560?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Antoine van Wel updated WICKET-3560:
------------------------------------

    Attachment: httpsswitcher.tar.gz

> mounting @RequireHttps-annotated page after HttpsMapper instantiation ignores @RequireHttps annotation
> ------------------------------------------------------------------------------------------------------
>
>                 Key: WICKET-3560
>                 URL: https://issues.apache.org/jira/browse/WICKET-3560
>             Project: Wicket
>          Issue Type: Bug
>            Reporter: Antoine van Wel
>         Attachments: httpsswitcher.tar.gz
>
>
> Attached quickstart.
> Create a page, annotate it with @RequireHttps
> First instantiatie HttpsMapper
> Then mount the page.
> As a result, the page will not be recognized as an annotated page - links will render to http, and no redirection will take place when accessing.
> The workaround is simple, just instantiate the HttpsMapper last - maybe this is not a bug..
> However a warning or a check would help a lot. Maybe it shouldn't happen at all, and this is really a bug. 

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Updated] (WICKET-3560) mounting @RequireHttps-annotated page after HttpsMapper instantiation ignores @RequireHttps annotation

Posted by "Antoine van Wel (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/WICKET-3560?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Antoine van Wel updated WICKET-3560:
------------------------------------

    Affects Version/s: 1.5-RC2

> mounting @RequireHttps-annotated page after HttpsMapper instantiation ignores @RequireHttps annotation
> ------------------------------------------------------------------------------------------------------
>
>                 Key: WICKET-3560
>                 URL: https://issues.apache.org/jira/browse/WICKET-3560
>             Project: Wicket
>          Issue Type: Bug
>    Affects Versions: 1.5-RC2
>            Reporter: Antoine van Wel
>         Attachments: httpsswitcher.tar.gz
>
>
> Attached quickstart.
> Create a page, annotate it with @RequireHttps
> First instantiatie HttpsMapper
> Then mount the page.
> As a result, the page will not be recognized as an annotated page - links will render to http, and no redirection will take place when accessing.
> The workaround is simple, just instantiate the HttpsMapper last - maybe this is not a bug..
> However a warning or a check would help a lot. Maybe it shouldn't happen at all, and this is really a bug. 

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira