|
uPortal 2.4.1 API Documentation |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jasig.portal.serialize.ProxyWriter
This Class allows appending PROXY_REWRITE_PREFIX String in front of all the references to images, javascript files, etc.. that are on a remote location. This allows the browser while portal is running in https assume that these resources are secure resources(are referenced by https rather than http). This is because the resource URI insteadof http://www.abc.com/image.gif will be rewriten as as https://[portal address]/PROXY_REWRITE_PREFIX/www.abc.com/image.gif This class does the proxy rewrite in the following exceptional situations as well: 1. If the return code poting to the image is 3XX (the image refrence, refrences is a mapping to a diffrent location) In this case the final destination iddress n which the image or the resource is located is e and then the rewrite points to this location. 2. If the content of a channel is an include javascript file the file is rewriten to a location on a local virtual host and at the same time the image or other resources references are rewritten.
Constructor Summary | |
ProxyWriter()
|
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public ProxyWriter()
|
uPortal 2.4.1 API Documentation |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |