⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 cwebproxy.cpd

📁 uPortal是开放源码的Portal门户产品
💻 CPD
字号:
<?xml version="1.0" encoding="UTF-8"?><!--Copyright (c) 2001 The JA-SIG Collaborative.  All rights reserved.Redistribution and use in source and binary forms, with or withoutmodification, are permitted provided that the following conditionsare met:1. Redistributions of source code must retain the above copyright   notice, this list of conditions and the following disclaimer.2. Redistributions in binary form must reproduce the above copyright   notice, this list of conditions and the following disclaimer in   the documentation and/or other materials provided with the   distribution.3. Redistributions of any form whatsoever must retain the following   acknowledgment:   "This product includes software developed by the JA-SIG Collaborative   (http://www.jasig.org/)."THIS SOFTWARE IS PROVIDED BY THE JA-SIG COLLABORATIVE "AS IS" AND ANYEXPRESSED OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THEIMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULARPURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL THE JA-SIG COLLABORATIVE ORITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUTNOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISEDOF THE POSSIBILITY OF SUCH DAMAGE.Author: Andrew Draskoy, andrew@mun.caAuthor: Ken Weiner, kweiner@unicon.netVersion $Revision: 1.6 $--><channelDef>  <description>    This is a channel for incorporating a dynamic HTML or XML application.  </description>  <class>org.jasig.portal.channels.webproxy.CWebProxy</class>  <params>    <step>      <ID>1</ID>      <name>Web proxy parameters</name>      <description>Enter the web proxy parameters</description>      <parameter modify="publish-only">        <name>cw_xml</name>        <label>Application URI (cw_xml)</label>        <type base="string" input="text" display="text">          <length>40</length>          <maxlength>2000</maxlength>        </type>        <example>http://localhost:8080/examples/jsp/num/numguess.jsp</example>      </parameter>      <parameter modify="publish-only">        <name>cw_ssl</name>        <label>Application SSL (cw_ssl)</label>        <type base="string" input="text" display="text">          <length>40</length>          <maxlength>2000</maxlength>        </type>        <defaultValue>XHTML.ssl</defaultValue>      </parameter>      <parameter modify="publish-only">        <name>cw_xslTitle</name>        <label>XSL Title (cw_xslTitle)</label>        <type base="string" input="text" display="text">          <length>40</length>          <maxlength>2000</maxlength>        </type>      </parameter>      <parameter modify="publish-only">        <name>cw_xsl</name>        <label>Application XSL (cw_xsl)</label>        <type base="string" input="text" display="text">          <length>40</length>          <maxlength>2000</maxlength>        </type>      </parameter>      <parameter modify="publish-only">        <name>cw_help</name>        <label>Help URI (cw_help)</label>        <type base="string" input="text" display="text">          <length>40</length>          <maxlength>2000</maxlength>        </type>      </parameter>      <parameter modify="publish-only">        <name>cw_info</name>        <label>Info URI (cw_info)</label>        <type base="string" input="text" display="text">          <length>40</length>          <maxlength>2000</maxlength>        </type>      </parameter>      <parameter modify="publish-only">        <name>cw_edit</name>        <label>Edit URI (cw_edit)</label>        <type base="string" input="text" display="text">                <length>40</length>                <maxlength>2000</maxlength>        </type>      </parameter>      <parameter modify="publish-only">        <name>cw_tidy</name>        <label>Enable HTML Filter? (cw_tidy)</label>        <type base="string" input="single-choice" display="drop-down">          <restriction type="enumeration">            <value default="true">off</value>            <value>on</value>          </restriction>        </type>      </parameter>      <parameter modify="publish-only">        <name>cw_passThrough</name>        <label>Pass-through Type (cw_passThrough)</label>        <type base="string" input="single-choice" display="drop-down">          <restriction type="enumeration">            <value default="true">none</value>            <value>marked</value>            <value>application</value>            <value>all</value>          </restriction>        </type>      </parameter>      <!-- added for cacheable CWebProxy -->      <parameter modify="publish-only">      	<name>cw_cacheDefaultTimeout</name>	<label>Default Cache Timeout (in seconds) (cw_cacheDefaultTimeout)</label>        <type base="string" input="text" display="text">          <length>7</length>          <maxlength>10</maxlength>        </type>        <defaultValue>900</defaultValue>      </parameter>      <parameter modify="publish-only">        <name>cw_cacheDefaultMode</name>	<label>Default Cache Mode (cw_cacheDefaultMode)</label>	<type base="string" input="single-choice" display="drop-down">          <restriction type="enumeration">	    <value default="true">none</value>	    <value>all</value>	  </restriction>	</type>      </parameter>      <parameter modify="publish-only">        <name>cw_cacheTimeout</name>	<label>Cache Timeout for initial request only (cw_cacheTimeout)</label>	<type base="string" input="text" display="text">	  <length>7</length>	  <maxlength>10</maxlength>	</type>      </parameter>      <parameter modify="publish-only">        <name>cw_cacheMode</name>	<label>Cache Mode for initial request only (cw_cacheMode)</label>	<type base="string" input="single-choice" display="drop-down">	  <restriction type="enumeration">	    <value default="true"></value>	    <value>none</value>	    <value>all</value>	  </restriction>                                	</type>                                              </parameter>      <parameter modify="publish-only">        <name>cw_person</name>	<label>Default IPerson Attributes to Pass (cw_person)</label>	<type base="string" input="text" display="text">	  <length>40</length>	  <maxlength>500</maxlength>	</type>	<example>uid,eduPersonPrimaryAffiliation</example>      </parameter>      <parameter modify="publish-only">        <name>cw_personAllow</name>	<label>Restrict IPerson Attributes Passing to These (cw_personAllow)</label>	<type base="string" input="text" display="text">	  <length>40</length>	  <maxlength>500</maxlength>	</type>	<example>uid,eduPersonNickName,cn,eduPersonPrimaryAffiliation</example>      </parameter>      <parameter modify="publish-only">        <name>upc_localConnContext</name>        <label>LocalConnectionContext implementation (upc_localConnContext)</label>        <type base="string" input="text" display="text">          <length>40</length>          <maxlength>2000</maxlength>        </type>        <example>org.jasig.portal.security.provider.CasConnectionContext</example>      </parameter>    </step>  </params>  <controls>    <control type="edit" include="no" override="yes"/>    <control type="about" include="no" override="yes"/>    <control type="help" include="no" override="yes"/>  </controls></channelDef>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -