1234567891011121314151617181920212223242526272829 |
- = Authorization Changes
- == If Using Access API, Add `spring-security-access`
- Spring Security 7 moves `AccessDecisionManager`, `AccessDecisionVoter`, and the related Access API to a legacy module, `spring-security-access`.
- The Access API is deprecated in favor of the Authorization API as of Spring Security 5.
- You can add the dependency like other Spring Security dependencies like so:
- [tabs]
- ======
- Maven::
- +
- [source,xml,role="primary"]
- ----
- <dependency>
- <groupId>org.springframework.security</groupId>
- <artifactId>spring-security-access</artifactId>
- </dependency>
- ----
- Gradle::
- +
- [source,groovy,role="primary"]
- ----
- implementation('org.springframework.security:spring-security-access')
- ----
- ======
|