Skip to content

Commit 3b48e87

Browse files
committed
Merge branch '6.2' into 6.3
* 6.2: [SecurityBundle] Update security-1.0.xsd to include missing access-token definition
2 parents e198462 + 43faa9b commit 3b48e87

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" />
@@ -305,6 +306,17 @@
305306
<xsd:attribute name="provider" type="xsd:string" />
306307
</xsd:complexType>
307308

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

0 commit comments

Comments
 (0)