Skip to content

Commit 21f7148

Browse files
Denis Babochenkojzheaux
Denis Babochenko
authored andcommitted
Update filters documentation
Fixes: gh-5553
1 parent bed3371 commit 21f7148

File tree

3 files changed

+0
-26
lines changed

3 files changed

+0
-26
lines changed

config/src/main/resources/org/springframework/security/config/spring-security-5.2.rnc

-3
Original file line numberDiff line numberDiff line change
@@ -364,9 +364,6 @@ intercept-url.attlist &=
364364
## The HTTP Method for which the access configuration attributes should apply. If not specified, the attributes will apply to any method.
365365
attribute method {"GET" | "DELETE" | "HEAD" | "OPTIONS" | "POST" | "PUT" | "PATCH" | "TRACE"}?
366366

367-
intercept-url.attlist &=
368-
## The filter list for the path. Currently can be set to "none" to remove a path from having any filters applied. The full filter stack (consisting of all filters created by the namespace configuration, and any added using 'custom-filter'), will be applied to any other paths.
369-
attribute filters {"none"}?
370367
intercept-url.attlist &=
371368
## Used to specify that a URL must be accessed over http or https, or that there is no preference. The value should be "http", "https" or "any", respectively.
372369
attribute requires-channel {xsd:token}?

config/src/main/resources/org/springframework/security/config/spring-security-5.2.xsd

-14
Original file line numberDiff line numberDiff line change
@@ -1284,20 +1284,6 @@
12841284
</xs:restriction>
12851285
</xs:simpleType>
12861286
</xs:attribute>
1287-
<xs:attribute name="filters">
1288-
<xs:annotation>
1289-
<xs:documentation>The filter list for the path. Currently can be set to "none" to remove a path from having
1290-
any filters applied. The full filter stack (consisting of all filters created by the
1291-
namespace configuration, and any added using 'custom-filter'), will be applied to any
1292-
other paths.
1293-
</xs:documentation>
1294-
</xs:annotation>
1295-
<xs:simpleType>
1296-
<xs:restriction base="xs:token">
1297-
<xs:enumeration value="none"/>
1298-
</xs:restriction>
1299-
</xs:simpleType>
1300-
</xs:attribute>
13011287
<xs:attribute name="requires-channel" type="xs:token">
13021288
<xs:annotation>
13031289
<xs:documentation>Used to specify that a URL must be accessed over http or https, or that there is no

docs/manual/src/docs/asciidoc/_includes/servlet/appendix/namespace.adoc

-9
Original file line numberDiff line numberDiff line change
@@ -950,15 +950,6 @@ Lists the access attributes which will be stored in the `FilterInvocationSecurit
950950
This should be a comma-separated list of the security configuration attributes (such as role names).
951951

952952

953-
[[nsa-intercept-url-filters]]
954-
* **filters**
955-
Can only take the value "none".
956-
This will cause any matching request to bypass the Spring Security filter chain entirely.
957-
None of the rest of the `<http>` configuration will have any effect on the request and there will be no security context available for its duration.
958-
Access to secured methods during the request will fail.
959-
960-
NOTE: This property is invalid for <<nsa-filter-security-metadata-source,filter-security-metadata-source>>
961-
962953
[[nsa-intercept-url-method]]
963954
* **method**
964955
The HTTP Method which will be used in combination with the pattern and servlet path (optional) to match an incoming request.

0 commit comments

Comments
 (0)