Which Spring Security feature helps enforce GDPR data minimization by restricting which fields are returned from REST endpoints?
-
A
@JsonIgnore combined with role-based filtering
-
B
Spring Data Projections with method security
-
C
@PreAuthorize on repository methods
-
D
SecurityContextHolder field masking