Added a match that returns true for every request.
authorSapan Bhatia <sapanb@cs.princeton.edu>
Wed, 16 Sep 2009 13:53:29 +0000 (13:53 +0000)
committerSapan Bhatia <sapanb@cs.princeton.edu>
Wed, 16 Sep 2009 13:53:29 +0000 (13:53 +0000)
sfatables/matches/all.xml [new file with mode: 0644]
sfatables/processors/all.xsl [new file with mode: 0644]

diff --git a/sfatables/matches/all.xml b/sfatables/matches/all.xml
new file mode 100644 (file)
index 0000000..f21fc09
--- /dev/null
@@ -0,0 +1,12 @@
+<!-- 
+"context" specifies the subset of the requestor context that this match needs to see. It is specified as an xpath expression.
+For this simple match, we just need to look at sfa-input. 
+
+"rule" specifies a set of arguments that the match accepts.
+-->
+
+<match name="all">
+    <!-- Empty context. We _always_ get the hrn of the current user -->
+    <context select=""/>
+    <processor filename="all.xsl"/>
+</match>
diff --git a/sfatables/processors/all.xsl b/sfatables/processors/all.xsl
new file mode 100644 (file)
index 0000000..469220c
--- /dev/null
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>
+<xsl:stylesheet version="1.0"
+    xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
+    <xsl:template match="/">
+            <result verdict="True"/> <!-- No match -->
+    </xsl:template>
+
+</xsl:stylesheet>