Skip to content

Commit 43faa9b

Browse files
aegypiusfabpot
authored andcommitted
[SecurityBundle] Update security-1.0.xsd to include missing access-token definition
1 parent b12dced commit 43faa9b

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

Resources/config/schema/security-1.0.xsd

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -140,6 +140,7 @@
140140
<xsd:element name="form-login" type="form_login" minOccurs="0" maxOccurs="1" />
141141
<xsd:element name="form-login-ldap" type="form_login_ldap" minOccurs="0" maxOccurs="1" />
142142
<xsd:element name="guard" type="guard" minOccurs="0" maxOccurs="1" />
143+
<xsd:element name="access-token" type="access_token" minOccurs="0" maxOccurs="1" />
143144
<xsd:element name="http-basic" type="http_basic" minOccurs="0" maxOccurs="1" />
144145
<xsd:element name="http-basic-ldap" type="http_basic_ldap" minOccurs="0" maxOccurs="1" />
145146
<xsd:element name="json-login" type="json_login" minOccurs="0" maxOccurs="1" />
@@ -304,6 +305,17 @@
304305
<xsd:attribute name="provider" type="xsd:string" />
305306
</xsd:complexType>
306307

308+
<xsd:complexType name="access_token">
309+
<xsd:choice minOccurs="0" maxOccurs="unbounded">
310+
<xsd:element name="token-extractor" type="xsd:string" />
311+
</xsd:choice>
312+
<xsd:attribute name="token-handler" type="xsd:string" />
313+
<xsd:attribute name="realm" type="xsd:string" />
314+
<xsd:attribute name="success-handler" type="xsd:string" />
315+
<xsd:attribute name="failure-handler" type="xsd:string" />
316+
<xsd:attribute name="provider" type="xsd:string" />
317+
</xsd:complexType>
318+
307319
<xsd:complexType name="login_throttling">
308320
<xsd:attribute name="limiter" type="xsd:string" />
309321
<xsd:attribute name="max-attempts" type="xsd:integer" />

0 commit comments

Comments
 (0)