Skip to content

Commit 863aa5f

Browse files
Fix Documented Default Value for AuthorizationFilter properties
Closes gh-13456
1 parent b02594d commit 863aa5f

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
@@ -188,7 +188,7 @@ public boolean isObserveOncePerRequest() {
188188

189189
/**
190190
* Sets whether this filter apply only once per request. By default, this is
191-
* <code>true</code>, meaning the filter will only execute once per request. Sometimes
191+
* <code>false</code>, meaning the filter will execute on every request. Sometimes
192192
* users may wish it to execute more than once per request, such as when JSP forwards
193193
* are being used and filter security is desired on each included fragment of the HTTP
194194
* request.
@@ -200,7 +200,8 @@ public void setObserveOncePerRequest(boolean observeOncePerRequest) {
200200
}
201201

202202
/**
203-
* If set to true, the filter will be applied to error dispatcher. Defaults to false.
203+
* If set to true, the filter will be applied to error dispatcher. Defaults to
204+
* {@code true}.
204205
* @param filterErrorDispatch whether the filter should be applied to error dispatcher
205206
*/
206207
public void setFilterErrorDispatch(boolean filterErrorDispatch) {
@@ -209,7 +210,7 @@ public void setFilterErrorDispatch(boolean filterErrorDispatch) {
209210

210211
/**
211212
* If set to true, the filter will be applied to the async dispatcher. Defaults to
212-
* false.
213+
* {@code true}.
213214
* @param filterAsyncDispatch whether the filter should be applied to async dispatch
214215
*/
215216
public void setFilterAsyncDispatch(boolean filterAsyncDispatch) {

0 commit comments

Comments
 (0)