[ 
https://issues.apache.org/jira/browse/APA-15?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Woonsan Ko resolved APA-15.
---------------------------

    Resolution: Fixed

Added reverse proxied url replacement option and auto-resizing option.
If the IFrame portlet has preferences to map the local base path to the remote 
base url, then the external url src will be replaced by the local path.

For example, if the following pairs are set by the preferences,

"PROXYREMOTEURL" = "http://portals.apache.org/";
"PROXYLOCALPATH" = "/jetspeed/webcontent/portals/"

then, the IFrame portlet will replace "http://portals.apache.org/""; of the src 
attribute by "/jetspeed/webcontent/portals/".

If a portal web site administrator configures a reverse web proxy provider, 
this feature can help that case.

Also, the portlet can have "AUTORESIZE" preference. If this preference is set 
to true, then the portlet will try to resize the height of the iframe based on 
the content height.
This "AUTORESIZE" preference option will not work if the iframe src url is in a 
different domain url and it can make script errors.
So, if you want to use "AUTORESIZE" option with external domain urls, then you 
might consider reverse proxied url option mentioned above.

> IFrame Portlet : Reverse proxied url replacement option to allow cross site 
> scripting and Auto-resizing of height option
> ------------------------------------------------------------------------------------------------------------------------
>
>                 Key: APA-15
>                 URL: https://issues.apache.org/jira/browse/APA-15
>             Project: Portals Apps
>          Issue Type: New Feature
>          Components: apa-webcontent
>    Affects Versions: apa-webcontent-1.0
>            Reporter: Woonsan Ko
>            Assignee: Woonsan Ko
>             Fix For: apa-webcontent-1.1
>
>
> IFrame portlet needs to have auto-resizing of its height option.
> To accomplish this feature, the IFrame src url should be in the same domain 
> as the hosting portal page.
> However, in many cases, the hosted iframe src url could be an external domain 
> url.
> So, if there's a reverse proxy provider with the same domain for the external 
> domain url, the IFrame portlet should be able to replace the external url to 
> a local proxied url.

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

Reply via email to