Start here. This is the direct spoken answer to practice first.
Overview
Security tests need a denial matrix as well as happy paths, and each helper's trust boundary must be understood.
With MockMvc I keep the Spring Security filter chain enabled and test anonymous, authenticated, and insufficient-authority requests. Spring Security test support can install a user, authentication, JWT, or CSRF token for a request, and @WithMockUser is convenient for method-security tests. I assert status, challenge headers, error contract, and allowed result for each rule.