File tree Expand file tree Collapse file tree 6 files changed +22
-0
lines changed
web/src/main/java/org/springframework/security/web/access/channel Expand file tree Collapse file tree 6 files changed +22
-0
lines changed Original file line number Diff line number Diff line change 23
23
24
24
import org .springframework .security .access .ConfigAttribute ;
25
25
import org .springframework .security .web .FilterInvocation ;
26
+ import org .springframework .security .web .util .matcher .RequestMatcher ;
26
27
27
28
/**
28
29
* Decides whether a web channel provides sufficient security.
29
30
*
30
31
* @author Ben Alex
32
+ * @deprecated no replacement is planned, though consider using a custom
33
+ * {@link RequestMatcher} for any sophisticated decision-making
31
34
*/
35
+ @ Deprecated
32
36
public interface ChannelDecisionManager {
33
37
34
38
/**
Original file line number Diff line number Diff line change 26
26
import org .springframework .beans .factory .InitializingBean ;
27
27
import org .springframework .security .access .ConfigAttribute ;
28
28
import org .springframework .security .web .FilterInvocation ;
29
+ import org .springframework .security .web .util .matcher .RequestMatcher ;
29
30
import org .springframework .util .Assert ;
30
31
31
32
/**
44
45
* channel processors will be skipped (see SEC-494, SEC-335).
45
46
*
46
47
* @author Ben Alex
48
+ * @deprecated no replacement is planned, though consider using a custom
49
+ * {@link RequestMatcher} for any sophisticated decision-making
47
50
*/
51
+ @ Deprecated
48
52
public class ChannelDecisionManagerImpl implements ChannelDecisionManager , InitializingBean {
49
53
50
54
public static final String ANY_CHANNEL = "ANY_CHANNEL" ;
Original file line number Diff line number Diff line change 83
83
* over HTTPS.
84
84
*
85
85
* @author Ben Alex
86
+ * @deprecated see {@link org.springframework.security.web.transport.HttpsRedirectFilter}
86
87
*/
88
+ @ Deprecated
87
89
public class ChannelProcessingFilter extends GenericFilterBean {
88
90
89
91
private ChannelDecisionManager channelDecisionManager ;
Original file line number Diff line number Diff line change 23
23
24
24
import org .springframework .security .access .ConfigAttribute ;
25
25
import org .springframework .security .web .FilterInvocation ;
26
+ import org .springframework .security .web .util .matcher .RequestMatcher ;
26
27
27
28
/**
28
29
* Decides whether a web channel meets a specific security condition.
34
35
* themselves. The callers of the implementation do not take any action.
35
36
*
36
37
* @author Ben Alex
38
+ * @deprecated no replacement is planned, though consider using a custom
39
+ * {@link RequestMatcher} for any sophisticated decision-making
37
40
*/
41
+ @ Deprecated
38
42
public interface ChannelProcessor {
39
43
40
44
/**
Original file line number Diff line number Diff line change 24
24
import org .springframework .beans .factory .InitializingBean ;
25
25
import org .springframework .security .access .ConfigAttribute ;
26
26
import org .springframework .security .web .FilterInvocation ;
27
+ import org .springframework .security .web .util .matcher .RequestMatcher ;
27
28
import org .springframework .util .Assert ;
28
29
29
30
/**
39
40
* The default <code>insecureKeyword</code> is <code>REQUIRES_INSECURE_CHANNEL</code>.
40
41
*
41
42
* @author Ben Alex
43
+ * @deprecated no replacement is planned, though consider using a custom
44
+ * {@link RequestMatcher} for any sophisticated decision-making
42
45
*/
46
+ @ Deprecated
43
47
public class InsecureChannelProcessor implements InitializingBean , ChannelProcessor {
44
48
45
49
private ChannelEntryPoint entryPoint = new RetryWithHttpEntryPoint ();
Original file line number Diff line number Diff line change 24
24
import org .springframework .beans .factory .InitializingBean ;
25
25
import org .springframework .security .access .ConfigAttribute ;
26
26
import org .springframework .security .web .FilterInvocation ;
27
+ import org .springframework .security .web .util .matcher .RequestMatcher ;
27
28
import org .springframework .util .Assert ;
28
29
29
30
/**
39
40
* The default <code>secureKeyword</code> is <code>REQUIRES_SECURE_CHANNEL</code>.
40
41
*
41
42
* @author Ben Alex
43
+ * @deprecated no replacement is planned, though consider using a custom
44
+ * {@link RequestMatcher} for any sophisticated decision-making
42
45
*/
46
+ @ Deprecated
43
47
public class SecureChannelProcessor implements InitializingBean , ChannelProcessor {
44
48
45
49
private ChannelEntryPoint entryPoint = new RetryWithHttpsEntryPoint ();
You can’t perform that action at this time.
0 commit comments