File tree Expand file tree Collapse file tree 2 files changed +6
-6
lines changed
core/src/main/java/org/springframework/security Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change 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.
Original file line number Diff line number Diff line change 1818
1919import 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
You can’t perform that action at this time.
0 commit comments