RE: URL rewriting help

2016-03-10 Thread Tony Nelson
> -Original Message- > From: Thiago H de Paula Figueiredo [mailto:thiag...@gmail.com] > Sent: Thursday, March 10, 2016 10:02 AM > > On Thu, 10 Mar 2016 10:55:41 -0300, Tony Nelson > wrote: > > > Hi All, > > Hello, Tony! > Hello again Thiago, > > I need to map URLs

Re: URL rewriting help

2016-03-10 Thread Thiago H de Paula Figueiredo
On Thu, 10 Mar 2016 10:55:41 -0300, Tony Nelson wrote: Hi All, Hello, Tony! I need to map URLs from our old application to the new URLs in our 5.3 app. Yesterday I found this page: http://blog.tapestry5.de/index.php/2010/09/06/new-url-rewriting-api/ For

URL rewriting help

2016-03-10 Thread Tony Nelson
Hi All, I need to map URLs from our old application to the new URLs in our 5.3 app. Yesterday I found this page: http://blog.tapestry5.de/index.php/2010/09/06/new-url-rewriting-api/ Following that I wrote my first rewrite rule /maintenance/agency_required_documents.htm?agencyId=86 to

Re: SSL on url demand

2016-03-10 Thread Barry Books
I think you could override the service RequestSecurityManager and make it do whatever you want. On Wednesday, March 9, 2016, h3ph3st0s wrote: > Hi, > > I built a small tapestry page under jboss. I read that in order to apply > SSL I had to either put @Secure annotation or

Re: SSL on url demand

2016-03-10 Thread Chris Poulsen
I has been a long while since I looked at this, but as far as i can remember that setting allows the application to work in both http / https mode depending on the protocol specified by the request (we use T5.4) - so if the page is requested using https all links that are generated are respecting

Re: SSL on url demand

2016-03-10 Thread h3ph3st0s
Chris hi, thanks for the answer but this is already tested & it works. But it is hard-coded and practically does not allow me to switch on or off the overall SSL context per user request. I have seen other applications that work either http or https simultaneously without redeploying new

Re: Ajax SSL Tapestry 5.3

2016-03-10 Thread h3ph3st0s
Hi I am really amateur to this framework but I think this is the java side, right ?. Is it something that I can follow perhaps in the other question with SSL I had ? ( to turn on or off SSL on http request ? ) For this thread of mails the problem stands within the ZoneUpdater.js which is

Re: SSL on url demand

2016-03-10 Thread h3ph3st0s
Hi and thank you for the responses, Perhaps it was not clear the question. If I use configuration or "-D" or @Secure then I am stack application wide for entire usage. What I would like to know if there is a way to switch on or off depending if the user requested https and port e.g. 8443 OR

Re: SSL on url demand

2016-03-10 Thread Chris Poulsen
I think we're handling it like this: // default to non-secure pages (allows us to support both http and https based on the incoming request) configuration.add( SymbolConstants.SECURE_ENABLED, "false" ); HTH. -- Chris On Thu, Mar 10, 2016 at 3:36 AM, JumpStart <