Commit 9d803873 authored by Leigh B. Stoller's avatar Leigh B. Stoller

Add optional extensions section to credential.

parent fead0db4
......@@ -86,6 +86,8 @@ credentials = element credential {
element expires { xsd:dateTime },
## Privileges or a ticket
(PrivilegesSpec | TicketSpec | CapabilitiesSpec),
## Optional Extensions
element extensions { anyelementbody }*,
## Parent that delegated to us
element parent { credentials }?
}
......
......@@ -132,6 +132,7 @@
<xs:element ref="ticket"/>
<xs:element ref="capabilities"/>
</xs:choice>
<xs:element minOccurs="0" maxOccurs="unbounded" ref="extensions"/>
<xs:element minOccurs="0" ref="parent"/>
</xs:sequence>
<xs:attribute ref="xml:id" use="required"/>
......@@ -179,6 +180,15 @@
<xs:documentation>Expires on</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="extensions">
<xs:annotation>
<xs:documentation>Optional Extensions</xs:documentation>
</xs:annotation>
<xs:complexType mixed="true">
<xs:group ref="anyelementbody"/>
<xs:attributeGroup ref="anyelementbody"/>
</xs:complexType>
</xs:element>
<xs:element name="parent" type="credentials">
<xs:annotation>
<xs:documentation>Parent that delegated to us</xs:documentation>
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment