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 24
24
* Thrown if an authentication request is rejected because the credentials are not
25
25
* sufficiently trusted.
26
26
* <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
30
30
* {@code ExceptionTranslationFilter} will then typically cause the
31
31
* {@code AuthenticationEntryPoint} to be called, allowing the principal to authenticate
32
32
* with a stronger level of authentication.
Original file line number Diff line number Diff line change 18
18
19
19
import java .io .Serializable ;
20
20
21
- import org .springframework .security .access . AccessDecisionManager ;
21
+ import org .springframework .security .authorization . AuthorizationManager ;
22
22
23
23
/**
24
24
* Represents an authority granted to an {@link Authentication} object.
25
25
*
26
26
* <p>
27
27
* 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 }.
29
29
*
30
30
* @author Ben Alex
31
31
*/
@@ -34,7 +34,7 @@ public interface GrantedAuthority extends Serializable {
34
34
/**
35
35
* If the <code>GrantedAuthority</code> can be represented as a <code>String</code>
36
36
* 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
38
38
* method should return such a <code>String</code>.
39
39
* <p>
40
40
* If the <code>GrantedAuthority</code> cannot be expressed with sufficient precision
You can’t perform that action at this time.
0 commit comments