You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tapestry.apache.org by "Howard M. Lewis Ship (Updated) (JIRA)" <ji...@apache.org> on 2011/10/24 20:32:33 UTC
[jira] [Updated] (TAP5-1511)
RequestSecurityManager.checkPageSecurity() should return request security
instead of INSECURE in case when security is disabled
[ https://issues.apache.org/jira/browse/TAP5-1511?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Howard M. Lewis Ship updated TAP5-1511:
---------------------------------------
Summary: RequestSecurityManager.checkPageSecurity() should return request security instead of INSECURE in case when security is disabled (was: RequestSecurityManager#checkPageSecurity should return request security insed of INSECURE in case when security is disabled)
> RequestSecurityManager.checkPageSecurity() should return request security instead of INSECURE in case when security is disabled
> -------------------------------------------------------------------------------------------------------------------------------
>
> Key: TAP5-1511
> URL: https://issues.apache.org/jira/browse/TAP5-1511
> Project: Tapestry 5
> Issue Type: Bug
> Components: tapestry-core
> Affects Versions: 5.2
> Reporter: Alexander Gavrilov
> Fix For: 5.3
>
>
> In current version unless security is enabled RequestSecurityManager#checkPageSecurity always returns LinkSecurity.INSECURE.
> It could be better to return LinkSecurity.SECURE or LinkSecurity.INSECURE depends on request security flag.
> {code:java}
> if (!securityEnabled)
> return request.isSecure() ? LinkSecurity.SECURE : LinkSecurity.INSECURE;
> {code}
> For now even if request to application is come by https tapestry generate http urls for getAbsolueURL call.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira