On Thu, 28 Jun 2012 03:52:24 -0300, Henrik von Schlanbusch <hen...@enovate.no> wrote:

Hi

Hi!

Is it possible to have the same page secured and not secured?
I have a page now that need to be accessed via https.
Consequently I have annotated it with @Secure.

You misuderstood @Secure. You don't need it in a page so it can be accessed though HTTPS. @Secure guarantees that the page is only requested through HTTPS, redirecting if needed. From the @Secure JavaDoc: "A marker annotation that indicates that the page in question may only be accessed via HTTPS."

Just remove @Secure and it will work with HTTP and HTTPS.

--
Thiago H. de Paula Figueiredo

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

Reply via email to