Five years ago, Spring Security began the journey of modernizing its authorization API.
This has paved the way for a number of exciting features like Authorized POJOs, value masking, and, planned for Spring Security 7, Multi-Factor Authentication.
This also deprecated the majority of the Access API.
The Access API comprises the family of components in the Spring Security access
packages; for example, AccessDecisionManager
, AccessDecisionVoter
, and FilterSecurityInterceptor
.
It also includes @EnableGlobalMethodSecurity
and other related configuration components.
The numerous benefits to this evolution are detailed on Spring Security's reference guide.
It also includes a number of migration hints…