= 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')
----
======

