File tree Expand file tree Collapse file tree 2 files changed +18
-0
lines changed
config/src/main/java/org/springframework/security/config/http
core/src/main/java/org/springframework/security/access Expand file tree Collapse file tree 2 files changed +18
-0
lines changed Original file line number Diff line number Diff line change 21
21
import org .springframework .beans .factory .BeanCreationException ;
22
22
import org .springframework .security .access .ConfigAttribute ;
23
23
import org .springframework .security .access .SecurityConfig ;
24
+ import org .springframework .security .authorization .AuthorizationManager ;
25
+ import org .springframework .security .core .annotation .SecurityAnnotationScanner ;
24
26
import org .springframework .security .web .access .channel .ChannelDecisionManagerImpl ;
25
27
26
28
/**
29
31
*
30
32
* @author Luke Taylor
31
33
* @since 3.0
34
+ * @deprecated In modern Spring Security APIs, each API manages its own configuration
35
+ * context. As such there is no direct replacement for this interface. In the case of
36
+ * method security, please see {@link SecurityAnnotationScanner} and
37
+ * {@link AuthorizationManager}. In the case of channel security, please see
38
+ * {@code HttpsRedirectFilter}. In the case of web security, please see
39
+ * {@link AuthorizationManager}.
32
40
*/
41
+ @ Deprecated
33
42
public final class ChannelAttributeFactory {
34
43
35
44
private static final String OPT_REQUIRES_HTTP = "http" ;
Original file line number Diff line number Diff line change 20
20
import java .util .ArrayList ;
21
21
import java .util .List ;
22
22
23
+ import org .springframework .security .authorization .AuthorizationManager ;
24
+ import org .springframework .security .core .annotation .SecurityAnnotationScanner ;
23
25
import org .springframework .util .Assert ;
24
26
import org .springframework .util .StringUtils ;
25
27
26
28
/**
27
29
* Stores a {@link ConfigAttribute} as a <code>String</code>.
28
30
*
29
31
* @author Ben Alex
32
+ * @deprecated In modern Spring Security APIs, each API manages its own configuration
33
+ * context. As such there is no direct replacement for this interface. In the case of
34
+ * method security, please see {@link SecurityAnnotationScanner} and
35
+ * {@link AuthorizationManager}. In the case of channel security, please see
36
+ * {@code HttpsRedirectFilter}. In the case of web security, please see
37
+ * {@link AuthorizationManager}.
30
38
*/
39
+ @ Deprecated
31
40
public class SecurityConfig implements ConfigAttribute {
32
41
33
42
@ Serial
You can’t perform that action at this time.
0 commit comments