Add method-security.mode to spring-security-6.0.xsd

This commit is contained in:
Steve Riesenberg 2022-08-29 16:05:20 -05:00
parent 8474acebf2
commit 41ede20712
No known key found for this signature in database
GPG Key ID: 5F311AB48A55D521
2 changed files with 14 additions and 0 deletions

View File

@ -216,6 +216,9 @@ method-security.attlist &=
method-security.attlist &=
## If true, class-based proxying will be used instead of interface-based proxying.
attribute proxy-target-class {xsd:boolean}?
method-security.attlist &=
## If set to aspectj, then use AspectJ to intercept method invocation
attribute mode {"aspectj"}?
method-security.attlist &=
## Specifies the security context holder strategy to use, by default uses a ThreadLocal-based strategy
attribute security-context-holder-strategy-ref {xsd:string}?

View File

@ -677,6 +677,17 @@
</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="mode">
<xs:annotation>
<xs:documentation>If set to aspectj, then use AspectJ to intercept method invocation
</xs:documentation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="xs:token">
<xs:enumeration value="aspectj"/>
</xs:restriction>
</xs:simpleType>
</xs:attribute>
<xs:attribute name="security-context-holder-strategy-ref" type="xs:string">
<xs:annotation>
<xs:documentation>Specifies the security context holder strategy to use, by default uses a ThreadLocal-based