Hi,
is it possible to change the scheme of the urls used by OF between http and https using the page-flow? Background: My OF application running on tomcat uses a username/pw-based authentication. The login-page should be accessed via https to encrypt the credentials. As soon as the user is authenticated, i don't need https any more. But because i use relative paths (without a server name or a scheme), the application of course continues to use https URLs. I don't want to hard-code the server name in the page-flow because alternatively, i have to change it between my test-system and the productive version. So i need a way to dynamically build the URL of the entry page (after successful authentication) based on the actual server name with a http scheme instead https. I found that the server name is available using the request generator processor. But i'm not sure how to use that information to build the URL of the page that should get loaded. Has anyone already a working solution for this? Thanx in advance! florian -- You receive this message as a subscriber of the [hidden email] mailing list. To unsubscribe: mailto:[hidden email] For general help: mailto:[hidden email]?subject=help ObjectWeb mailing lists service home page: http://www.objectweb.org/wws |
Administrator
|
Hi Florian,
On 5/29/07, Florian Schmitt <[hidden email]> wrote: > So i need a way to dynamically build the URL of the entry page (after > successful authentication) based on the actual server name with a http > scheme instead https. I found that the server name is available using > the request generator processor. But i'm not sure how to use that > information to build the URL of the page that should get loaded. Has > anyone already a working solution for this? Thanx in advance! Yes, I would also use the request-generator, then XSLT to build a configuration for the redirect processor, and finally of course the redirect processor. For the request generator, see (there is an example with the complete output of that processor; you can take just the parts you are interested in by providing a configuration): http://www.orbeon.com/ops/doc/processors-generators-request For the redirect processor, see: http://www.orbeon.com/ops/doc/processors-other#redirect-processor Alex -- Orbeon Forms - Web 2.0 Forms, open-source, for the Enterprise http://www.orbeon.com/ -- You receive this message as a subscriber of the [hidden email] mailing list. To unsubscribe: mailto:[hidden email] For general help: mailto:[hidden email]?subject=help ObjectWeb mailing lists service home page: http://www.objectweb.org/wws |
Hi Alessandro,
> Yes, I would also use the request-generator, then XSLT to build a > configuration for the redirect processor, and finally of course the > redirect processor. Great, thank you, the redirect processor was the "missing link" :-) florian -- You receive this message as a subscriber of the [hidden email] mailing list. To unsubscribe: mailto:[hidden email] For general help: mailto:[hidden email]?subject=help ObjectWeb mailing lists service home page: http://www.objectweb.org/wws |
Free forum by Nabble | Edit this page |