/usr/share/xml/shibboleth/shibboleth-2.0-afp-mf-basic.xsd is in shibboleth-sp2-schemas 2.4.3+dfsg-2ubuntu1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 | <?xml version="1.0" encoding="UTF-8"?>
<schema targetNamespace="urn:mace:shibboleth:2.0:afp:mf:basic"
xmlns="http://www.w3.org/2001/XMLSchema"
xmlns:basic="urn:mace:shibboleth:2.0:afp:mf:basic"
xmlns:afp="urn:mace:shibboleth:2.0:afp"
elementFormDefault="qualified"
version="2.1">
<import namespace="urn:mace:shibboleth:2.0:afp" schemaLocation="classpath:/schema/shibboleth-2.0-afp.xsd" />
<!-- Blanket Match Function -->
<complexType name="ANY">
<annotation>
<documentation>A match function that evaluates to true.</documentation>
</annotation>
<complexContent>
<extension base="afp:MatchFunctorType" />
</complexContent>
</complexType>
<!-- Boolean Match Functions -->
<complexType name="AND">
<annotation>
<documentation>
A match function that performs a logical AND on the results of all contained matching functions.
</documentation>
</annotation>
<complexContent>
<extension base="afp:MatchFunctorType">
<choice minOccurs="2" maxOccurs="unbounded">
<element name="Rule" type="afp:MatchFunctorType">
<annotation>
<documentation>
The set of match function rules to be ANDed.
</documentation>
</annotation>
</element>
<element name="RuleReference" type="afp:ReferenceType">
<annotation>
<documentation>
The set of match function rules to be ANDed.
</documentation>
</annotation>
</element>
</choice>
</extension>
</complexContent>
</complexType>
<complexType name="OR">
<annotation>
<documentation>
A match function that performs a logical OR on the results of all contained matching functions.
</documentation>
</annotation>
<complexContent>
<extension base="afp:MatchFunctorType">
<choice minOccurs="2" maxOccurs="unbounded">
<element name="Rule" type="afp:MatchFunctorType">
<annotation>
<documentation>
The set of match function rules to be ANDed.
</documentation>
</annotation>
</element>
<element name="RuleReference" type="afp:ReferenceType">
<annotation>
<documentation>
The set of match function rules to be ANDed.
</documentation>
</annotation>
</element>
</choice>
</extension>
</complexContent>
</complexType>
<complexType name="NOT">
<annotation>
<documentation>
A match function that performs a logical NOT on the result of the contained matching function.
</documentation>
</annotation>
<complexContent>
<extension base="afp:MatchFunctorType">
<choice>
<element name="Rule" type="afp:MatchFunctorType">
<annotation>
<documentation>
The set of match function rules to be ANDed.
</documentation>
</annotation>
</element>
<element name="RuleReference" type="afp:ReferenceType">
<annotation>
<documentation>
The set of match function rules to be ANDed.
</documentation>
</annotation>
</element>
</choice>
</extension>
</complexContent>
</complexType>
<!-- Literal String Match Functions -->
<complexType name="AttributeRequesterString">
<annotation>
<documentation>
A match function that matches the attribute request against the specified value.
</documentation>
</annotation>
<complexContent>
<extension base="basic:StringMatchType" />
</complexContent>
</complexType>
<complexType name="AttributeIssuerString">
<annotation>
<documentation>
A match function that matches the attribute issuer against the specified value.
</documentation>
</annotation>
<complexContent>
<extension base="basic:StringMatchType" />
</complexContent>
</complexType>
<complexType name="PrincipalNameString">
<annotation>
<documentation>A match function that matches the principal name against the specified value.</documentation>
</annotation>
<complexContent>
<extension base="basic:StringMatchType" />
</complexContent>
</complexType>
<complexType name="AuthenticationMethodString">
<annotation>
<documentation>
A match function that matches the authentication method against the specified value.
</documentation>
</annotation>
<complexContent>
<extension base="basic:StringMatchType" />
</complexContent>
</complexType>
<complexType name="AttributeValueString">
<annotation>
<documentation>
A match function that matches the value of an attribute against the specified value. This match
evaluates to true if the attribute contains the specified value.
</documentation>
</annotation>
<complexContent>
<extension base="basic:AttributeTargetedStringMatchType" />
</complexContent>
</complexType>
<complexType name="AttributeScopeString">
<annotation>
<documentation>
A match function that matches the attribute scope against the specified value.
</documentation>
</annotation>
<complexContent>
<extension base="basic:AttributeTargetedStringMatchType" />
</complexContent>
</complexType>
<complexType name="AttributeTargetedStringMatchType" abstract="true">
<complexContent>
<extension base="basic:StringMatchType">
<attribute name="attributeID" type="string">
<annotation>
<documentation>
The ID of the attribute whose value should be matched. If no attribute ID is specified the
ID of the containing attribute rule is assumed.
</documentation>
</annotation>
</attribute>
</extension>
</complexContent>
</complexType>
<complexType name="StringMatchType" abstract="true">
<complexContent>
<extension base="afp:MatchFunctorType">
<attribute name="value" type="string" use="required">
<annotation>
<documentation>The string value to match.</documentation>
</annotation>
</attribute>
<attribute name="ignoreCase" type="boolean">
<annotation>
<documentation>
A boolean flag indicating whether case should be ignored when evaluating the match.
</documentation>
</annotation>
</attribute>
</extension>
</complexContent>
</complexType>
<!-- Regular Expression Match Functions -->
<complexType name="AttributeRequesterRegex">
<annotation>
<documentation>
A match function that matches the attribute requester against the specified regular expression.
</documentation>
</annotation>
<complexContent>
<extension base="basic:RegexMatchType" />
</complexContent>
</complexType>
<complexType name="AttributeIssuerRegex">
<annotation>
<documentation>
A match function that matches the attribute issuer against the specified regular expression.
</documentation>
</annotation>
<complexContent>
<extension base="basic:RegexMatchType" />
</complexContent>
</complexType>
<complexType name="PrincipalNameRegex">
<annotation>
<documentation>
A match function that matches the principal name against the specified regular expression.
</documentation>
</annotation>
<complexContent>
<extension base="basic:RegexMatchType" />
</complexContent>
</complexType>
<complexType name="AuthenticationMethodRegex">
<annotation>
<documentation>
A match function that matches the authentication method against the specified regular expression.
</documentation>
</annotation>
<complexContent>
<extension base="basic:RegexMatchType" />
</complexContent>
</complexType>
<complexType name="AttributeValueRegex">
<annotation>
<documentation>
A match function that matches an attribute value against the specified regular expression. This function
evaluates to true if any value matches the given expression.
</documentation>
</annotation>
<complexContent>
<extension base="basic:AttributeTargetedRegexMatchType" />
</complexContent>
</complexType>
<complexType name="AttributeScopeRegex">
<annotation>
<documentation>
A match function that matches the attribute scope against the specified regular expression.
</documentation>
</annotation>
<complexContent>
<extension base="basic:AttributeTargetedRegexMatchType" />
</complexContent>
</complexType>
<complexType name="AttributeTargetedRegexMatchType" abstract="true">
<complexContent>
<extension base="basic:RegexMatchType">
<attribute name="attributeID" type="string">
<annotation>
<documentation>
The ID of the attribute whose value should be matched. If no attribute ID is specified the
ID of the containing attribute rule is assumed.
</documentation>
</annotation>
</attribute>
</extension>
</complexContent>
</complexType>
<complexType name="RegexMatchType" abstract="true">
<complexContent>
<extension base="afp:MatchFunctorType">
<attribute name="regex" type="string" use="required">
<annotation>
<documentation>The regular expression values are matched against.</documentation>
</annotation>
</attribute>
<attribute name="options" type="string">
<annotation>
<documentation>The regular expression options to apply.</documentation>
</annotation>
</attribute>
</extension>
</complexContent>
</complexType>
<!-- Misc. Functions -->
<complexType name="Script">
<annotation>
<documentation>
A match function that evaluates a script to determine if some criteria is met. The script MUST return a
boolean.
</documentation>
</annotation>
<complexContent>
<extension base="afp:MatchFunctorType">
<choice>
<element name="Script" type="string" minOccurs="0">
<annotation>
<documentation>The script to evaluate to construct the attribute.</documentation>
</annotation>
</element>
<element name="ScriptFile" type="string" minOccurs="0">
<annotation>
<documentation>
The filesystem path to the script to evaluate to construct the attribute.
</documentation>
</annotation>
</element>
</choice>
<attribute name="language" type="string">
<annotation>
<documentation>
The JSR-233 name for the scripting language that will be used. By default "javascript" is
supported.
</documentation>
</annotation>
</attribute>
</extension>
</complexContent>
</complexType>
<complexType name="NumberOfAttributeValues">
<annotation>
<documentation>
A match function that evaluates to true if the given attribute has as a number of values that falls
between the minimum and maximum. This method may be used as a sanity check to ensure that an unexpected
number of values did not come from the attribute resolver and be released.
</documentation>
</annotation>
<complexContent>
<extension base="afp:MatchFunctorType">
<attribute name="attributeID" type="string" use="required">
<annotation>
<documentation>The ID of the attribute whose value should be matched.</documentation>
</annotation>
</attribute>
<attribute name="minimum" type="nonNegativeInteger">
<annotation>
<documentation>Minimum number of values an attribute may have.</documentation>
</annotation>
</attribute>
<attribute name="maximum" type="positiveInteger">
<annotation>
<documentation>Maximum number of values an attribute may have.</documentation>
</annotation>
</attribute>
</extension>
</complexContent>
</complexType>
</schema>
|