Skip to content

Commit 85b756c

Browse files
ngocnhan-tran1996jzheaux
authored andcommitted
Update FilterChainProxy#getFilters(String) javadoc
Closes gh-18157 Signed-off-by: Tran Ngoc Nhan <ngocnhan.tran1996@gmail.com>
1 parent 7441ce7 commit 85b756c

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

web/src/main/java/org/springframework/security/web/FilterChainProxy.java

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -254,6 +254,11 @@ private List<Filter> getFilters(HttpServletRequest request) {
254254

255255
/**
256256
* Convenience method, mainly for testing.
257+
* <p>
258+
* Attempt to find the matching filter chain based on the given {@code url}. Note that
259+
* the URI is often not enough information and this method should be used with
260+
* caution. Instead, consider using Spring Security's testing support that mocks a
261+
* full HTTP request.
257262
* @param url the URL
258263
* @return matching filter list
259264
*/

0 commit comments

Comments
 (0)