|
|
|
@ -73,7 +73,7 @@ public final class RequestMatcherDelegatingWebInvocationPrivilegeEvaluator |
|
|
|
* @return true if access is allowed, false if denied |
|
|
|
* @return true if access is allowed, false if denied |
|
|
|
*/ |
|
|
|
*/ |
|
|
|
@Override |
|
|
|
@Override |
|
|
|
public boolean isAllowed(String uri, Authentication authentication) { |
|
|
|
public boolean isAllowed(String uri, @Nullable Authentication authentication) { |
|
|
|
List<WebInvocationPrivilegeEvaluator> privilegeEvaluators = getDelegate(null, uri, null); |
|
|
|
List<WebInvocationPrivilegeEvaluator> privilegeEvaluators = getDelegate(null, uri, null); |
|
|
|
if (privilegeEvaluators.isEmpty()) { |
|
|
|
if (privilegeEvaluators.isEmpty()) { |
|
|
|
return true; |
|
|
|
return true; |
|
|
|
@ -106,7 +106,8 @@ public final class RequestMatcherDelegatingWebInvocationPrivilegeEvaluator |
|
|
|
* @return true if access is allowed, false if denied |
|
|
|
* @return true if access is allowed, false if denied |
|
|
|
*/ |
|
|
|
*/ |
|
|
|
@Override |
|
|
|
@Override |
|
|
|
public boolean isAllowed(String contextPath, String uri, String method, Authentication authentication) { |
|
|
|
public boolean isAllowed(String contextPath, String uri, @Nullable String method, |
|
|
|
|
|
|
|
@Nullable Authentication authentication) { |
|
|
|
List<WebInvocationPrivilegeEvaluator> privilegeEvaluators = getDelegate(contextPath, uri, method); |
|
|
|
List<WebInvocationPrivilegeEvaluator> privilegeEvaluators = getDelegate(contextPath, uri, method); |
|
|
|
if (privilegeEvaluators.isEmpty()) { |
|
|
|
if (privilegeEvaluators.isEmpty()) { |
|
|
|
return true; |
|
|
|
return true; |
|
|
|
|