[ https://issues.apache.org/jira/browse/TAP5-43?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12674990#action_12674990 ]
Andy Pahne commented on TAP5-43: -------------------------------- What do you think of the idea to use the "tapestry.production-mode" setting? If the app is in production mode, the @Secure annotation will be honored. If not, it is silently ignored. In case the connection between production mode and secured pages is not desired, another configuration option would make sense. > Add configuration to turn off @Secure when in development > --------------------------------------------------------- > > Key: TAP5-43 > URL: https://issues.apache.org/jira/browse/TAP5-43 > Project: Tapestry 5 > Issue Type: New Feature > Affects Versions: 5.0.15 > Environment: Windows XP > Reporter: Joey Solis > Assignee: Kevin Menard > > In production I want my pages to be secured so I annotate my them with > @Secure. > In development however, I don't want my pages to have to be secured (https) > so I comment out the @Secure annotation. > It would be nice to be able to set the @Secure dynamically based on the > environment (development or production). -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.