You are viewing a plain text version of this content. The canonical link for it is here.
Posted to pluto-dev@portals.apache.org by "Scott Nicklous (JIRA)" <ji...@apache.org> on 2014/10/08 14:02:33 UTC
[jira] [Created] (PLUTO-637) TCK: BaseURL#setSecure does not work
properly
Scott Nicklous created PLUTO-637:
------------------------------------
Summary: TCK: BaseURL#setSecure does not work properly
Key: PLUTO-637
URL: https://issues.apache.org/jira/browse/PLUTO-637
Project: Pluto
Issue Type: Bug
Reporter: Scott Nicklous
Priority: Minor
The following test cases fail:
V2URLTests_BaseURL_ApiRenderActurl_setSecure2
V2URLTests_BaseURL_ApiRenderRenurl_setSecure2
V2URLTests_BaseURL_ApiRenderResurl_setSecure2
The API documentation states that a PortletSecurityException will be thrown if the run-time environment does not support the indicated setting. The JSR 286 specification states that when BaseURL#setSecure(true) is executed, the communication resulting from use of the URL must be through a secure channel.
However, setting the secure bit to "true" does not result in an exception, and the resulting communication is not carried out through a secure channel. This is incorrect - either an exception should be thrown, or communication should be secure.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)