Quantcast

Geoff Callender commented on http://tapestry.apache.org/https.html

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Geoff Callender commented on http://tapestry.apache.org/https.html

no-reply
Hello,
    Geoff Callender has commented on http://tapestry.apache.org/https.html.
    You can find the comment here:
    http://tapestry.apache.org/https.html#comment_6458
    Please note that if the comment contains a hyperlink, it must be approved
    before it is shown on the site.

    Below is the reply that was posted:
    ~~~~
    I'd suggest making it clear that you can mix and match secure and non-secure in the configuration. For example, to accomodate a load balancer that handles all HTTPS decryption and forwards the traffic with HTTPS headers, but which also emits a health check request in HTTP, you can secure the whole application except the directory containing the health check page. Assuming the page is in directory pages/healthcheck/, here's what you put in AppModule:

public void contributeMetaDataLocator(MappedConfiguration<String,String> configuration)
{
    configuration.add("healthcheck:"   MetaDataConstants.SECURE_PAGE, "false");
    configuration.add(MetaDataConstants.SECURE_PAGE, "true");
}
    ~~~~

    With regards,
    The Apache Tapestry Project.

    You are receiving this email because you have subscribed to changes for the tapestry site.
    To stop receiving these emails, unsubscribe from the mailing list that is providing these notifications.
           

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Loading...