6da2e709e345589ddaa85cca7056d3085dcf6579
[sfa.git] / sfatables / matches / hrn.xml
1 <!-- 
2 "context" specifies the subset of the requestor context that this match needs to see. It is specified as an xpath expression.
3 For this simple match, we just need to look at sfa-input. 
4
5 "rule" specifies a set of arguments that the match accepts.
6 -->
7
8 <match name="hrn">
9     <!-- Empty context. We _always_ get the hrn of the current user -->
10     <context select="//sfa/current/user@hrn"/>
11     <rule>
12         <argument>
13             <name>user-hrn</name>
14             <help>HRN of the user requesting resouces</help>
15             <operand>HRN</operand>
16         </argument>
17     </rule>
18     <processor filename="hrn.xsl"/>
19 </match>