You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tapestry.apache.org by "Hudson (Commented) (JIRA)" <ji...@apache.org> on 2011/10/24 21:46:33 UTC
[jira] [Commented] (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:comment-tabpanel&focusedCommentId=13134415#comment-13134415 ]
Hudson commented on TAP5-1511:
------------------------------
Integrated in tapestry-trunk-freestyle #605 (See [https://builds.apache.org/job/tapestry-trunk-freestyle/605/])
TAP5-1511: RequestSecurityManager.checkPageSecurity() should return request security instead of INSECURE in case when security is disabled
hlship : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1188278
Files :
* /tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry5/internal/services/RequestSecurityManager.java
* /tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry5/internal/services/RequestSecurityManagerImpl.java
* /tapestry/tapestry5/trunk/tapestry-core/src/test/java/org/apache/tapestry5/internal/services/RequestSecurityManagerImplTest.java
> 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
> Assignee: Howard M. Lewis Ship
> 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