tapestry-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Howard M. Lewis Ship (JIRA)" <...@tapestry.apache.org>
Subject [jira] Assigned: (TAPESTRY-2566) Errors in code examples of "Securing your application with HTTPS"
Date Fri, 12 Sep 2008 16:43:44 GMT

     [ https://issues.apache.org/jira/browse/TAPESTRY-2566?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Howard M. Lewis Ship reassigned TAPESTRY-2566:
----------------------------------------------

    Assignee: Howard M. Lewis Ship

> Errors in code examples of "Securing your application with HTTPS"
> -----------------------------------------------------------------
>
>                 Key: TAPESTRY-2566
>                 URL: https://issues.apache.org/jira/browse/TAPESTRY-2566
>             Project: Tapestry
>          Issue Type: Bug
>          Components: Documentation
>    Affects Versions: 5.0
>         Environment: n/a
>            Reporter: Lutz Hühnken
>            Assignee: Howard M. Lewis Ship
>            Priority: Trivial
>
> On the page describing "Securing your application with HTTPS" with the URL http://tapestry.apache.org/tapestry5/guide/secure.html
, there are small mistakes in the code examples.
> In the section "Securing Multiple Pages", the examples refer to the method "put" and
a wrong constants class
> the line : configuration.put("admin:" + TapestryConstants.SECURE_PAGE, "true");
> should be: configuration.add("admin:" + MetaDataConstants.SECURE_PAGE, "true");
> The other example shoud be changed accordingly.
> In the section "Base URL Support", the ports in the example are mixed up.
> The line:   int port = secure ? 8080 : 8443;
> should be:   int port = secure ? 8443 : 8080;
> as 8443 is more usual for https, and 8080 for http, for Tomcat and I believe Jetty.
> The line
> public void contributeAlias(Configuration<AliasContribution> configuration)
> could maybe be improved to
>     public static void contributeAlias(final Configuration<AliasContribution<BaseURLSource>>
configuration)
> since AliasContribution is a generic class.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tapestry.apache.org
For additional commands, e-mail: dev-help@tapestry.apache.org


Mime
View raw message