FilterSecurityInterceptor once per request set attr
Only set the attribute if once per request is true
This commit is contained in:
parent
ce5fb51b20
commit
40a1281c66
|
@ -117,7 +117,7 @@ public class FilterSecurityInterceptor extends AbstractSecurityInterceptor imple
|
|||
}
|
||||
else {
|
||||
// first time this request being called, so perform security checking
|
||||
if (fi.getRequest() != null) {
|
||||
if (fi.getRequest() != null && observeOncePerRequest) {
|
||||
fi.getRequest().setAttribute(FILTER_APPLIED, Boolean.TRUE);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue