slice whitelist
authorSapan Bhatia <sapanb@cs.princeton.edu>
Wed, 16 Sep 2009 00:17:30 +0000 (00:17 +0000)
committerSapan Bhatia <sapanb@cs.princeton.edu>
Wed, 16 Sep 2009 00:17:30 +0000 (00:17 +0000)
sfatables/matches/__init__.py
sfatables/matches/slice-whitelist.xml [new file with mode: 0644]
sfatables/matches/test.xml

index 7c6b637..9910712 100644 (file)
@@ -1,3 +1,4 @@
 all="""
 hrn
+slice-whitelist
 """.split()
diff --git a/sfatables/matches/slice-whitelist.xml b/sfatables/matches/slice-whitelist.xml
new file mode 100644 (file)
index 0000000..91820ff
--- /dev/null
@@ -0,0 +1,4 @@
+<match name="slice-whitelist">
+    <context select="//sfa/current/slice@hrn"/>
+    <processor filename="slice-whitelist.xsl"/>
+</match>
index f1bd343..493dbbf 100644 (file)
@@ -1,7 +1,7 @@
 <rspec-match>
-<context-input>
+<request-context>
 <sfa><user><hrn>plc.princeton.sapan</hrn></user></sfa>
-</context-input>
+</request-context>
 
 <rule-input>
 <sfa><user><hrn>plc.princeton</hrn></user></sfa>