1
0
mirror of synced 2026-05-22 21:33:16 +00:00

Fix AuthorizationManager T Nullability

Previously AuthorizationManager declared the generic's Nullability
incorrectly. This commit marks it properly.

Closes gh-17667
This commit is contained in:
Rob Winch
2025-08-11 12:58:27 -05:00
parent 35b508adbf
commit a5c38bdc94
@@ -31,7 +31,7 @@ import org.springframework.security.core.Authentication;
* @author Evgeniy Cheban
*/
@FunctionalInterface
public interface AuthorizationManager<@Nullable T> {
public interface AuthorizationManager<T extends @Nullable Object> {
/**
* Determines if access should be granted for a specific authentication and object.