Skip to content

Commit 7269868

Browse files
Merge branch '6.1.x'
Closes gh-13466
2 parents 01c8a22 + 230977d commit 7269868

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

web/src/main/java/org/springframework/security/web/access/intercept/AuthorizationFilter.java

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -206,7 +206,7 @@ public boolean isObserveOncePerRequest() {
206206

207207
/**
208208
* Sets whether this filter apply only once per request. By default, this is
209-
* <code>true</code>, meaning the filter will only execute once per request. Sometimes
209+
* <code>false</code>, meaning the filter will execute on every request. Sometimes
210210
* users may wish it to execute more than once per request, such as when JSP forwards
211211
* are being used and filter security is desired on each included fragment of the HTTP
212212
* request.
@@ -218,7 +218,8 @@ public void setObserveOncePerRequest(boolean observeOncePerRequest) {
218218
}
219219

220220
/**
221-
* If set to true, the filter will be applied to error dispatcher. Defaults to false.
221+
* If set to true, the filter will be applied to error dispatcher. Defaults to
222+
* {@code true}.
222223
* @param filterErrorDispatch whether the filter should be applied to error dispatcher
223224
*/
224225
public void setFilterErrorDispatch(boolean filterErrorDispatch) {
@@ -227,7 +228,7 @@ public void setFilterErrorDispatch(boolean filterErrorDispatch) {
227228

228229
/**
229230
* If set to true, the filter will be applied to the async dispatcher. Defaults to
230-
* false.
231+
* {@code true}.
231232
* @param filterAsyncDispatch whether the filter should be applied to async dispatch
232233
*/
233234
public void setFilterAsyncDispatch(boolean filterAsyncDispatch) {

0 commit comments

Comments
 (0)