Skip to content

Commit 85b48f8

Browse files
committed
Deprecate AccessDecisionManager
Closes gh-11302
1 parent bb43857 commit 85b48f8

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

core/src/main/java/org/springframework/security/authentication/InsufficientAuthenticationException.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,9 +24,9 @@
2424
* Thrown if an authentication request is rejected because the credentials are not
2525
* sufficiently trusted.
2626
* <p>
27-
* {@link org.springframework.security.access.AccessDecisionVoter}s will typically throw
28-
* this exception if they are dissatisfied with the level of the authentication, such as
29-
* if performed using a remember-me mechanism or anonymously. The
27+
* {@link org.springframework.security.authorization.AuthorizationManager}s will typically
28+
* throw this exception if they are dissatisfied with the level of the authentication,
29+
* such as if performed using a remember-me mechanism or anonymously. The
3030
* {@code ExceptionTranslationFilter} will then typically cause the
3131
* {@code AuthenticationEntryPoint} to be called, allowing the principal to authenticate
3232
* with a stronger level of authentication.

core/src/main/java/org/springframework/security/core/GrantedAuthority.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,14 +18,14 @@
1818

1919
import java.io.Serializable;
2020

21-
import org.springframework.security.access.AccessDecisionManager;
21+
import org.springframework.security.authorization.AuthorizationManager;
2222

2323
/**
2424
* Represents an authority granted to an {@link Authentication} object.
2525
*
2626
* <p>
2727
* A <code>GrantedAuthority</code> must either represent itself as a <code>String</code>
28-
* or be specifically supported by an {@link AccessDecisionManager}.
28+
* or be specifically supported by an {@link AuthorizationManager}.
2929
*
3030
* @author Ben Alex
3131
*/
@@ -34,7 +34,7 @@ public interface GrantedAuthority extends Serializable {
3434
/**
3535
* If the <code>GrantedAuthority</code> can be represented as a <code>String</code>
3636
* and that <code>String</code> is sufficient in precision to be relied upon for an
37-
* access control decision by an {@link AccessDecisionManager} (or delegate), this
37+
* access control decision by an {@link AuthorizationManager} (or delegate), this
3838
* method should return such a <code>String</code>.
3939
* <p>
4040
* If the <code>GrantedAuthority</code> cannot be expressed with sufficient precision

0 commit comments

Comments
 (0)