tapestry-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Szemere (JIRA)" <...@tapestry.apache.org>
Subject [jira] Created: (TAPESTRY-2757) Securing your app. with https has code mistake in Securing Multiple Pages
Date Wed, 18 Nov 2009 18:34:39 GMT
Securing your app. with https has code mistake in Securing Multiple Pages
-------------------------------------------------------------------------

                 Key: TAPESTRY-2757
                 URL: https://issues.apache.org/jira/browse/TAPESTRY-2757
             Project: Tapestry
          Issue Type: Bug
          Components: Documentation
    Affects Versions: 5.0.15
            Reporter: Szemere


Securing your application with HTTPS has code mistake in Securing Multiple Pages
url http://tapestry.apache.org/tapestry5/guide/secure.html

MetaDataLocator should be ApplicationDefaults in:

public void contributeMetaDataLocator(MappedConfiguration<String,String> configuration)
{
    configuration.add("admin:" + MetaDataConstants.SECURE_PAGE, "true");
}
-->
public void contributeApplicationDefaults(MappedConfiguration<String,String> configuration)
{
    configuration.add("admin:" + MetaDataConstants.SECURE_PAGE, "true");
}


public void contributeMetaDataLocator(MappedConfiguration<String,String> configuration)
{
    configuration.add(MetaDataConstants.SECURE_PAGE, "true");
}
-->
public void contributeApplicationDefaults(MappedConfiguration<String,String> configuration)
{
    configuration.add(MetaDataConstants.SECURE_PAGE, "true");
}

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


Mime
View raw message