Index: uportal-portlets-overlay/WebProxyPortlet/pom.xml
===================================================================
--- uportal-portlets-overlay/WebProxyPortlet/pom.xml (revision 0)
+++ uportal-portlets-overlay/WebProxyPortlet/pom.xml (revision 0)
@@ -0,0 +1,38 @@
+
+
+
+
+ org.jasig.portal.portlets-overlay
+ uportal-portlets-overlay-parent
+ 3.1.0-SNAPSHOT
+
+
+ 4.0.0
+ WebProxyPortlet
+ war
+
+ Web Proxy Portlet
+ Overlay on Web Proxy Portlet.
+
+
+
+
+ org.jasig.portlet
+ WebProxyPortlet
+ ${WebProxyPortlet.version}
+ war
+
+
+
+
+
+
+ org.apache.pluto
+ maven-pluto-plugin
+
+
+
+
+
Property changes on: uportal-portlets-overlay\WebProxyPortlet\pom.xml
___________________________________________________________________
Name: svn:keywords
+ Date Revision Author HeadURL Id
Name: svn:eol-style
+ native
Index: uportal-portlets-overlay/pom.xml
===================================================================
--- uportal-portlets-overlay/pom.xml (revision 44245)
+++ uportal-portlets-overlay/pom.xml (working copy)
@@ -24,6 +24,7 @@
pluto-testsuiteFunctionalTestsPortletcas
+ WebProxyPortlet
Index: uportal-impl/src/main/resources/properties/db/entities/channel-type/WebProxyPortlet.channel-type
===================================================================
--- uportal-impl/src/main/resources/properties/db/entities/channel-type/WebProxyPortlet.channel-type (revision 0)
+++ uportal-impl/src/main/resources/properties/db/entities/channel-type/WebProxyPortlet.channel-type (revision 0)
@@ -0,0 +1,7 @@
+
+
+ Web Proxy Portlet
+ org.jasig.portal.channels.portlet.CPortletAdapter
+ Web Proxy Portlet
+ /edu/wisc/my/portlets/webproxy/WebProxyPortlet.cpd
+
\ No newline at end of file
Index: uportal-impl/src/main/resources/properties/db/entities/channel-type/SimpleWebProxyPortlet.channel-type
===================================================================
--- uportal-impl/src/main/resources/properties/db/entities/channel-type/SimpleWebProxyPortlet.channel-type (revision 0)
+++ uportal-impl/src/main/resources/properties/db/entities/channel-type/SimpleWebProxyPortlet.channel-type (revision 0)
@@ -0,0 +1,7 @@
+
+
+ Simple Web Proxy Portlet
+ org.jasig.portal.channels.portlet.CPortletAdapter
+ Simple Web Proxy Portlet
+ /edu/wisc/my/portlets/webproxy/SimpleWebProxyPortlet.cpd
+
\ No newline at end of file
Index: pom.xml
===================================================================
--- pom.xml (revision 44245)
+++ pom.xml (working copy)
@@ -104,6 +104,7 @@
1.0.10.31.0.0
+ 1.0.01.0.2
Index: uportal-ear/pom.xml
===================================================================
--- uportal-ear/pom.xml (revision 44245)
+++ uportal-ear/pom.xml (working copy)
@@ -67,6 +67,13 @@
+ org.jasig.portal.portlets-overlay
+ WebProxyPortlet
+ ${pom.parent.version}
+ war
+
+
+ javax.portletportlet-apicompile
@@ -159,6 +166,12 @@
FunctionalTestsPortlet.war/FunctionalTestsPortlet
+
+ org.jasig.portal.portlets-overlay
+ WebProxyPortlet
+ WebProxyPortlet.war
+ /WebProxyPortlet
+
Index: uportal-war/src/main/resources/edu/wisc/my/portlets/webproxy/SimpleWebProxyPortlet.cpd
===================================================================
--- uportal-war/src/main/resources/edu/wisc/my/portlets/webproxy/SimpleWebProxyPortlet.cpd (revision 0)
+++ uportal-war/src/main/resources/edu/wisc/my/portlets/webproxy/SimpleWebProxyPortlet.cpd (revision 0)
@@ -0,0 +1,209 @@
+
+
+
+
+
+
+
+
+ Simple configuration workflow for the UW Web Proxy Portlet
+
+
+ org.jasig.portal.channels.portlet.CSpringPortletAdaptor
+
+
+
+ 1
+
+ Simple Configuration
+ Address of the Web appliaction to be proxied and options for which resources should be proxied and which sould be accessed directly by the browser.
+
+
+ PORTLET.edu.wisc.my.webproxy.webproxy.general.config.sBaseUrl
+
+
+
+ 80
+ 1024
+
+ http://www.google.com
+ The Base URL is the starting point of the proxied application and will be the first page proxied for the end user after authentication. This value must contain the protocol of the URL. (e.g., http://www.foo.bar/, http://foo.bar/example.html)
+
+
+
+ PORTLET.edu.wisc.my.webproxy.webproxy.general.config.sPortletUrl
+
+
+
+ 80
+ 1024
+
+ http\:\/\/www\.google\.com.
+ Must contain the URLs of the web application you would like or would not like to be proxied, depending on the URL List Type (see below). The portlet URL list uses regular expressions for matching. (e.g., .foo.)
+
+
+
+
+ PORTLET.edu.wisc.my.webproxy.webproxy.general.config.sListType
+
+
+ 10
+ 10
+
+
+ This value is set to Include by default. This value will designate how the portlet will read the Portlet Url list. If this value is set to Include,the portlet will rewrite and proxy all matching URL expressions in the list. If set to Exclude, the portlet will proxy all the sites that do not match the URL expressions listed.
+ Include
+
+
+
+ portletApplicationId
+
+
+ 40
+ 2000
+
+ /pluto-testsuite
+
+ This is the name of the web application the portlet resides in including a preceding /.
+
+ /WebProxyPortlet
+
+
+
+ portletName
+
+
+ 40
+ 2000
+
+ test-port-et-1
+
+ This is the name of the portlet as defined in the portlet.xml descriptor.
+
+ WebProxyPortlet
+
+
+
+ PORTLET.edu.wisc.my.webproxy.webproxy.httpclient.httpTimeout
+
+
+
+ 10
+ 10
+
+ The number of seconds you would like Web Proxy to wait before determining the remote server is non-responsive.
+ 60
+
+
+
+ PORTLET.edu.wisc.my.webproxy.webproxy.clipping.sClippingDisable
+
+
+ 10
+ 10
+
+ Set to false if you would like to configure the Web Proxy portlet for HTML clipping. HTML clipping can be used to only display content within certain absolute alement paths (e.g., /html/body/), comments(e.g., <!--clipping-->), and clement (e.g., <script>). Please keep in mind that once clipping is enabled the end user will only see the content that has been clipped, all other content will be dropped.
+ false
+
+
+
+ PORTLET.edu.wisc.my.webproxy.webproxy.clipping.sElement
+
+
+
+ 80
+ 1024
+
+ HTML element for clipping.
+ body
+
+
+
+
+
+ 2
+ Display Settings
+
+ These options influence how your Portlet is displayed within the portal
+
+
+
+ showChrome
+
+
+
+ true
+ false
+
+
+ true
+
+
+
+ alternate
+
+
+
+ false
+ true
+
+
+ false
+
+
+
+ highlight
+
+
+
+ false
+ true
+
+
+ false
+
+
+
+
+
+
+
+
+
+
+
+
+
Property changes on: uportal-war\src\main\resources\edu\wisc\my\portlets\webproxy\SimpleWebProxyPortlet.cpd
___________________________________________________________________
Name: svn:keywords
+ Date Revision Author HeadURL Id
Index: uportal-war/src/main/resources/edu/wisc/my/portlets/webproxy/WebProxyPortlet.cpd
===================================================================
--- uportal-war/src/main/resources/edu/wisc/my/portlets/webproxy/WebProxyPortlet.cpd (revision 0)
+++ uportal-war/src/main/resources/edu/wisc/my/portlets/webproxy/WebProxyPortlet.cpd (revision 0)
@@ -0,0 +1,640 @@
+
+
+
+
+
+
+
+
+ Specialized configuration workflow for the UW Web Proxy Portlet
+
+
+ org.jasig.portal.channels.portlet.CSpringPortletAdaptor
+
+
+
+ 1
+
+ General Configuration
+ Address of the Web appliaction to be proxied and options for which resources should be proxied and which sould be accessed directly by the browser.
+
+
+ PORTLET.edu.wisc.my.webproxy.webproxy.general.config.sBaseUrl
+
+
+
+ 80
+ 1024
+
+ http://www.google.com
+ The Base URL is the starting point of the proxied application and will be the first page proxied for the end user after authentication. This value must contain the protocol of the URL. (e.g., http://www.foo.bar/, http://foo.bar/example.html)
+
+
+
+ PORTLET.edu.wisc.my.webproxy.webproxy.general.config.sEditUrl
+
+
+
+ 80
+ 1024
+
+ http://www.google.com/edit
+ This URL will provide a link that will allow the end user to configure the proxied web-application for their own personal needs. This value must also contain the protocol. (e.g., http://foo.bar/edit.html)
+
+
+
+ PORTLET.edu.wisc.my.webproxy.webproxy.general.config.sPortletUrl
+
+
+
+ 80
+ 1024
+
+ http\:\/\/www\.google\.com.
+ Must contain the URLs of the web application you would like or would not like to be proxied, depending on the URL List Type (see below). The portlet URL list uses regular expressions for matching. (e.g., .foo.)
+
+
+
+ PORTLET.edu.wisc.my.webproxy.webproxy.general.config.sListType
+
+
+
+ Include
+ Exclude
+
+
+ Include
+
+ This value is set to Include by default. This value will designate how the portlet will read the Portlet Url list. If this value is set to Include,the portlet will rewrite and proxy all matching URL expressions in the list. If set to Exclude, the portlet will proxy all the sites that do not match the URL expressions listed.
+
+
+
+ PORTLET.edu.wisc.my.webproxy.webproxy.general.config.sPreInterceptor
+
+
+
+ 80
+ 1024
+
+ edu.wisc.my.webproxy.CPreInterceptor
+ This is an optional configuration that can be used to manipulate the http request before it is sent to the web-application. This will require a custom class file to use. (e.g. edu.wisc.my.webproxy.CPreInterceptor)
+
+
+
+ PORTLET.edu.wisc.my.webproxy.webproxy.general.config.sPostInterceptor
+
+
+
+ 80
+ 1024
+
+ edu.wisc.my.webproxy.CPostInterceptor
+ This is an optional configuration that can be used to manipulate the http response after it is received from the web-application. This will require a custom class file to use. (e.g. edu.wisc.my.webproxy.CPostInterceptor)
+
+
+
+ portletApplicationId
+
+
+ 40
+ 2000
+
+ /pluto-testsuite
+
+ This is the name of the web application the portlet resides in including a preceding /.
+
+ /WebProxyPortlet
+
+
+
+ portletName
+
+
+ 40
+ 2000
+
+ test-port-et-1
+
+ This is the name of the portlet as defined in the portlet.xml descriptor.
+
+ WebProxyPortlet
+
+
+
+
+ 2
+
+ Cache Configuration
+ Enabling cache and its various options.
+
+
+ PORTLET.edu.wisc.my.webproxy.webproxy.cache.useCache
+
+
+
+ false
+ true
+
+
+ Select this if you would like to enable caching. If not selected, the remaining options on this page have no effect.
+
+
+
+ PORTLET.edu.wisc.my.webproxy.webproxy.cache.cacheTimeOut
+
+
+
+ 10
+ 20
+
+ The amount of seconds you would like the cache to be valid for.
+
+
+
+ PORTLET.edu.wisc.my.webproxy.webproxy.cache.useCExpired
+
+
+
+ false
+ true
+
+
+ If selected the portal will use expired data if the remote server stops responding. If selected, you must designate the amount of seconds Web Proxy will wait before trying to contact the non-responding servers.
+
+
+
+ PORTLET.edu.wisc.my.webproxy.webproxy.cache.persistCache
+
+
+
+ false
+ true
+
+
+ Select this if you would like to keep the cache beyond the user's session.
+
+
+
+
+ 3
+
+ HTTP Configuration
+ This section also allows to configure authentication and parameter passing.
+
+
+ PORTLET.edu.wisc.my.webproxy.webproxy.httpclient.httpTimeout
+
+
+
+ 10
+ 10
+
+ The number of seconds you would like Web Proxy to wait before determining the remote server is non-responsive.
+
+
+
+ PORTLET.edu.wisc.my.webproxy.webproxy.httpheader.sHeaderName
+
+
+
+ 80
+ 1024
+
+ The name of HTTP header that Web Proxy portlet should add to every HTTP request it makes.
+
+
+
+ PORTLET.edu.wisc.my.webproxy.webproxy.httpheader.sHeaderValue
+
+
+
+ 80
+ 1024
+
+ The value of HTTP header that Web Proxy should add to every HTTP request it makes.
+
+
+
+ PORTLET.edu.wisc.my.webproxy.webproxy.httpclient.redirects
+
+
+
+ 10
+ 10
+
+ This configurable option has a default value of 5 and will determine the maximum number of times the proxied site is able to redirect the end user.
+
+
+
+ PORTLET.edu.wisc.my.webproxy.webproxy.httpclient.authEnable
+
+
+
+ false
+ true
+
+
+ false
+ Set to true if you would like to enable any type of authentication.
+
+
+
+ PORTLET.edu.wisc.my.webproxy.webproxy.httpclient.sAuthType
+
+
+
+
+ FORM
+ BASIC
+ NTLM
+
+
+
+ Select the type of authentication the web-based application requires.
+
+
+
+ PORTLET.edu.wisc.my.webproxy.webproxy.httpclient.sessionPersistenceEnable
+
+
+
+ false
+ true
+
+
+ false
+ Set to true to have the session of the end user persisted after the user logs out.
+
+
+
+ PORTLET.edu.wisc.my.webproxy.webproxy.httpclient.sessionKey
+
+
+
+ 80
+ 255
+
+ A key for storing session to be shared between other Web Proxy portlets for user. If left blank, shared sessions will be disabled. It is recommended that this variable be unique so that only the intended proxied web applications share the session.
+
+
+
+ PORTLET.edu.wisc.my.webproxy.webproxy.httpclient.userName
+
+
+
+ 80
+ 255
+
+ The username or LDAP value with the option to prompt the end user for individual username and persist this value beyond the end user's session. (e.g., photo_id, or 1234556789)
+
+
+
+ PORTLET.edu.wisc.my.webproxy.webproxy.httpclient.password
+
+
+
+ 80
+ 255
+
+ The password or LDAP value with the option to prompt the end user for individual password and persist this value beyond the end user's session. If using the LDAP value, you must wrap the value within ???? for the user specific substitution to occur (e.g., ????). Use must also add this user-attribute to your portlet.xml.
+
+
+
+ PORTLET.edu.wisc.my.webproxy.webproxy.httpclient.sessionTimeout
+
+
+
+ 10
+ 10
+
+ The number of minutes until the user's credentials must be posted again.
+
+
+
+ PORTLET.edu.wisc.my.webproxy.webproxy.httpclient.sAuthenticationUrl
+
+
+
+ 80
+ 1024
+
+ The URL the credentials will be posted to.
+
+
+
+ PORTLET.edu.wisc.my.webproxy.webproxy.httpclient.sDynamicParameterNames
+
+
+
+ 80
+ 1024
+
+ Dynamic parameters are parameters that must be posted for authentication and are not the same for every portal user. You can enter the parameter name, whether or not you would like to persist the value beyond the user's session, and whether the value is sensitive to the end user. (e.g., userName, password).
+
+
+
+ PORTLET.edu.wisc.my.webproxy.webproxy.httpclient.sDynamicParameterValues
+
+
+
+ 80
+ 1024
+
+ Dynamic parameters are parameters that must be posted for authentication and are not the same for every portal user. You can enter the parameter name, whether or not you would like to persist the value beyond the user's session, and whether the value is sensitive to the end user. (e.g., userName, password).
+
+
+
+ PORTLET.edu.wisc.my.webproxy.webproxy.httpclient.sDynamicParameterPersist
+
+
+
+ 80
+ 1024
+
+ Dynamic parameters are parameters that must be posted for authentication and are not the same for every portal user. You can enter the parameter name, whether or not you would like to persist the value beyond the user's session, and whether the value is sensitive to the end user. (e.g., userName, password).
+
+
+
+ PORTLET.edu.wisc.my.webproxy.webproxy.httpclient.sDynamicParameterSensitive
+
+
+
+ 80
+ 1024
+
+ Dynamic parameters are parameters that must be posted for authentication and are not the same for every portal user. You can enter the parameter name, whether or not you would like to persist the value beyond the user's session, and whether the value is sensitive to the end user. (e.g., userName, password).
+
+
+
+ PORTLET.edu.wisc.my.webproxy.webproxy.httpclient.sStaticicParameterNames
+
+
+
+ 80
+ 1024
+
+ These parameters will be the same for every user that has permission to use the Authenticated WebProxy portlet. If the parameter name does not have a corresponding value, leave blank.
+
+
+
+ PORTLET.edu.wisc.my.webproxy.webproxy.httpclient.sStaticicParameterValues
+
+
+
+ 80
+ 1024
+
+ These parameters will be the same for every user that has permission to use the Authenticated WebProxy portlet. If the parameter name does not have a corresponding value, leave blank.
+
+
+
+
+
+ 4
+
+ HTML Configuration
+ In the clipping section, if enabled, it is possible to enter more than one type of clipping fiter.
+
+
+ PORTLET.edu.wisc.my.webproxy.webproxy.statichtml.sStaticHeader
+
+
+
+ 80
+ 1024
+
+ Any HTML you would like prepended to the displayable parsed content.
+
+
+
+ PORTLET.edu.wisc.my.webproxy.webproxy.statichtml.sStaticFooter
+
+
+
+ 80
+ 1024
+
+ Any HTML you would like appended to the displayable parsed content.
+
+
+
+ PORTLET.edu.wisc.my.webproxy.webproxy.clipping.sClippingDisable
+
+
+
+ true
+ false
+
+
+ true
+ Set to false if you would like to configure the Web Proxy portlet for HTML clipping. HTML clipping can be used to only display content within certain absolute alement paths (e.g., /html/body/), comments(e.g., <!--clipping-->), and clement (e.g., <script>). Please keep in mind that once clipping is enabled the end user will only see the content that has been clipped, all other content will be dropped.
+
+
+
+ PORTLET.edu.wisc.my.webproxy.webproxy.clipping.sXPath
+
+
+
+ 80
+ 1024
+
+ XPath expression for clipping.
+
+
+
+ PORTLET.edu.wisc.my.webproxy.webproxy.clipping.sComment
+
+
+
+ 80
+ 1024
+
+ HTML comment expression for clipping.
+
+
+
+ PORTLET.edu.wisc.my.webproxy.webproxy.clipping.sElement
+
+
+
+ 80
+ 1024
+
+ HTML element for clipping.
+
+
+
+
+
+ 5
+
+ HTML Parser Configuration
+ Various HTML parsing options.
+
+
+ PORTLET.edu.wisc.my.webproxy.webproxy.htmlparser.sInsertDocType
+
+
+
+ false
+ true
+
+
+ false
+ Specifies whether the HTML parser should override the public and system identifier values specified in the document type declaration.
+
+
+
+ PORTLET.edu.wisc.my.webproxy.webproxy.htmlparser.????
+
+
+
+ false
+ true
+
+
+ false
+ Specifies whether the XML built-in entity references (e.g. &, <, etc) should be reported to the registered document handler. This only applies to the five pre-defined XML general entities -- specifically, "amp", "lt", "gt", "quot", and "apos". This is done for compatibility with the Xerces feature.
+
+
+
+ PORTLET.edu.wisc.my.webproxy.webproxy.htmlparser.sBalanceTags
+
+
+
+ false
+ true
+
+
+ false
+ This is only recommended for non-malformed HTML. Specifies if the HTML parser should attempt to balance the tags in the parsed document. Balancing the tags fixes up many common mistakes by adding missing parent elements, automatically closing elements with optional end tags, and correcting unbalanced inline element tags.
+
+
+
+ PORTLET.edu.wisc.my.webproxy.webproxy.htmlparser.sScriptStripComment
+
+
+
+ false
+ true
+
+
+ false
+ Specifies whether the scanner should strip HTML comment delimiters (i.e. "<!-" and "->") from <script> element content.
+
+
+
+ PORTLET.edu.wisc.my.webproxy.webproxy.htmlparser.sStripComments
+
+
+
+ false
+ true
+
+
+ false
+ Specifies whether the scanner should strip HTML comments (i.e. "<!-" and "->").
+
+
+
+ PORTLET.edu.wisc.my.webproxy.webproxy.htmlparser.sReportErrors
+
+
+
+ false
+ true
+
+
+ false
+ This should only be used when debugging. Specifies whether errors should be reported to the registered error handler.
+
+
+
+
+
+ 6
+ Display Settings
+
+ These options influence how your Portlet is displayed within the portal
+
+
+
+ showChrome
+
+
+
+ true
+ false
+
+
+ true
+
+
+
+ alternate
+
+
+
+ false
+ true
+
+
+ false
+
+
+
+ highlight
+
+
+
+ false
+ true
+
+
+ false
+
+
+
+
+
+
+
+
+
+
+
+
+
Property changes on: uportal-war\src\main\resources\edu\wisc\my\portlets\webproxy\WebProxyPortlet.cpd
___________________________________________________________________
Name: svn:keywords
+ Date Revision Author HeadURL Id
Name: svn:eol-style
+ native