Uploaded image for project: 'Pluto'
  1. Pluto
  2. PLUTO-637

TCK: BaseURL#setSecure does not work properly

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • None
    • 3.0.0
    • None
    • None

    Description

      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.

      Attachments

        Activity

          People

            Unassigned Unassigned
            msnicklous Scott Nicklous
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: