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 { ...@@ -86,6 +86,8 @@ credentials = element credential {
element expires { xsd:dateTime }, element expires { xsd:dateTime },
## Privileges or a ticket ## Privileges or a ticket
(PrivilegesSpec | TicketSpec | CapabilitiesSpec), (PrivilegesSpec | TicketSpec | CapabilitiesSpec),
## Optional Extensions
element extensions { anyelementbody }*,
## Parent that delegated to us ## Parent that delegated to us
element parent { credentials }? element parent { credentials }?
} }
......
...@@ -132,6 +132,7 @@ ...@@ -132,6 +132,7 @@
<xs:element ref="ticket"/> <xs:element ref="ticket"/>
<xs:element ref="capabilities"/> <xs:element ref="capabilities"/>
</xs:choice> </xs:choice>
<xs:element minOccurs="0" maxOccurs="unbounded" ref="extensions"/>
<xs:element minOccurs="0" ref="parent"/> <xs:element minOccurs="0" ref="parent"/>
</xs:sequence> </xs:sequence>
<xs:attribute ref="xml:id" use="required"/> <xs:attribute ref="xml:id" use="required"/>
...@@ -179,6 +180,15 @@ ...@@ -179,6 +180,15 @@
<xs:documentation>Expires on</xs:documentation> <xs:documentation>Expires on</xs:documentation>
</xs:annotation> </xs:annotation>
</xs:element> </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:element name="parent" type="credentials">
<xs:annotation> <xs:annotation>
<xs:documentation>Parent that delegated to us</xs:documentation> <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