Revision: 3281
http://archive-access.svn.sourceforge.net/archive-access/?rev=3281&view=rev
Author: bradtofel
Date: 2010-10-11 20:38:31 +0000 (Mon, 11 Oct 2010)
Log Message:
-----------
TWEAK: moved a couple AccessPoint configuration examples from wayback.xml here
Modified Paths:
--------------
trunk/archive-access/projects/wayback/wayback-webapp/src/main/webapp/WEB-INF/ComplexAccessPoint.xml
Modified: trunk/archive-access/projects/wayback/wayback-webapp/src/main/webapp/WEB-INF/ComplexAccessPoint.xml
===================================================================
--- trunk/archive-access/projects/wayback/wayback-webapp/src/main/webapp/WEB-INF/ComplexAccessPoint.xml 2010-10-11 20:38:04 UTC (rev 3280)
+++ trunk/archive-access/projects/wayback/wayback-webapp/src/main/webapp/WEB-INF/ComplexAccessPoint.xml 2010-10-11 20:38:31 UTC (rev 3281)
@@ -8,7 +8,8 @@
<!--
This file contains an alternate "8080:wayback" AccessPoint demonstrating
- several optional AccessPoint configurations.
+ several optional AccessPoint configurations, and a few other, hopefully
+ useful, example AccessPoint configurations.
-->
<bean name="8080:wayback" class="org.archive.wayback.webapp.AccessPoint">
@@ -84,4 +85,83 @@
</property>
</bean>
+
+
+ <!--
+ <bean name="8091" parent="8080:wayback">
+ <property name="urlRoot" value="http://localhost.archive.org/" />
+ <property name="replay" ref="proxyreplay" />
+ <property name="uriConverter">
+ <bean class="org.archive.wayback.archivalurl.ArchivalUrlResultURIConverter">
+ <property name="replayURIPrefix" value="http://localhost.archive.org/"/>
+ </bean>
+ </property>
+ <property name="parser">
+ <bean class="org.archive.wayback.proxy.ProxyArchivalRequestParser">
+ <property name="localhostNames">
+ <list>
+ <value>localhost.archive.org</value>
+ </list>
+ </property>
+ <property name="maxRecords" value="1000" />
+ </bean>
+ </property>
+ </bean>
+-->
+
+<!--
+ The following AccessPoint inherits all configuration from the 8080:wayback
+ AccessPoint, but uses an Access Control Oracle to determine if archived
+ content should be accessible.
+
+ The Access Control Oracle was developed by Alex Osborne of the NLA.
+
+ Some documentation for this project is available at:
+
+ http://webteam.archive.org/confluence/display/wayback/Exclusions+API
+-->
+
+<!--
+ <bean name="8080:exclusion" parent="8080:wayback">
+ <property name="exclusionFactory">
+ <bean class="org.archive.wayback.accesscontrol.oracleclient.OracleExclusionFilterFactory">
+ <property name="oracleUrl" value="http://localhost:8180/oracle/" />
+ <property name="accessGroup" value="ia_archiver" />
+ </bean>
+ </property>
+ <property name="uriConverter">
+ <bean class="org.archive.wayback.archivalurl.ArchivalUrlResultURIConverter">
+ <property name="replayURIPrefix" value="http://localhost:8080/exclusion/" />
+ </bean>
+ </property>
+ </bean>
+-->
+
+
+<!--
+ The following AccessPoint inherits all configuration from the 8080:wayback
+ AccessPoint, but only allows access from the specified IP network.
+-->
+<!--
+ <bean name="8080:netsecure" parent="8080:wayback">
+
+ <property name="authentication">
+ <bean class="org.archive.wayback.authenticationcontrol.IPMatchesBooleanOperator">
+ <property name="allowedRanges">
+ <list>
+ <value>192.168.1.16/24</value>
+ </list>
+ </property>
+ </bean>
+ </property>
+
+ <property name="uriConverter">
+ <bean class="org.archive.wayback.archivalurl.ArchivalUrlResultURIConverter">
+ <property name="replayURIPrefix" value="http://localhost.archive.org:8080/netsecure/" />
+ </bean>
+ </property>
+ </bean>
+-->
+
+
</beans>
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|