You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
29 lines
714 B
29 lines
714 B
= 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') |
|
---- |
|
====== |
|
|
|
|