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 2323
2424import org .springframework .security .access .ConfigAttribute ;
2525import org .springframework .security .web .FilterInvocation ;
26+ import org .springframework .security .web .util .matcher .RequestMatcher ;
2627
2728/**
2829 * Decides whether a web channel provides sufficient security.
2930 *
3031 * @author Ben Alex
32+ * @deprecated no replacement is planned, though consider using a custom
33+ * {@link RequestMatcher} for any sophisticated decision-making
3134 */
35+ @ Deprecated
3236public interface ChannelDecisionManager {
3337
3438 /**
Original file line number Diff line number Diff line change 2626import org .springframework .beans .factory .InitializingBean ;
2727import org .springframework .security .access .ConfigAttribute ;
2828import org .springframework .security .web .FilterInvocation ;
29+ import org .springframework .security .web .util .matcher .RequestMatcher ;
2930import org .springframework .util .Assert ;
3031
3132/**
4445 * channel processors will be skipped (see SEC-494, SEC-335).
4546 *
4647 * @author Ben Alex
48+ * @deprecated no replacement is planned, though consider using a custom
49+ * {@link RequestMatcher} for any sophisticated decision-making
4750 */
51+ @ Deprecated
4852public class ChannelDecisionManagerImpl implements ChannelDecisionManager , InitializingBean {
4953
5054 public static final String ANY_CHANNEL = "ANY_CHANNEL" ;
Original file line number Diff line number Diff line change 8383 * over HTTPS.
8484 *
8585 * @author Ben Alex
86+ * @deprecated see {@link org.springframework.security.web.transport.HttpsRedirectFilter}
8687 */
88+ @ Deprecated
8789public class ChannelProcessingFilter extends GenericFilterBean {
8890
8991 private ChannelDecisionManager channelDecisionManager ;
Original file line number Diff line number Diff line change 2323
2424import org .springframework .security .access .ConfigAttribute ;
2525import org .springframework .security .web .FilterInvocation ;
26+ import org .springframework .security .web .util .matcher .RequestMatcher ;
2627
2728/**
2829 * Decides whether a web channel meets a specific security condition.
3435 * themselves. The callers of the implementation do not take any action.
3536 *
3637 * @author Ben Alex
38+ * @deprecated no replacement is planned, though consider using a custom
39+ * {@link RequestMatcher} for any sophisticated decision-making
3740 */
41+ @ Deprecated
3842public interface ChannelProcessor {
3943
4044 /**
Original file line number Diff line number Diff line change 2424import org .springframework .beans .factory .InitializingBean ;
2525import org .springframework .security .access .ConfigAttribute ;
2626import org .springframework .security .web .FilterInvocation ;
27+ import org .springframework .security .web .util .matcher .RequestMatcher ;
2728import org .springframework .util .Assert ;
2829
2930/**
3940 * The default <code>insecureKeyword</code> is <code>REQUIRES_INSECURE_CHANNEL</code>.
4041 *
4142 * @author Ben Alex
43+ * @deprecated no replacement is planned, though consider using a custom
44+ * {@link RequestMatcher} for any sophisticated decision-making
4245 */
46+ @ Deprecated
4347public class InsecureChannelProcessor implements InitializingBean , ChannelProcessor {
4448
4549 private ChannelEntryPoint entryPoint = new RetryWithHttpEntryPoint ();
Original file line number Diff line number Diff line change 2424import org .springframework .beans .factory .InitializingBean ;
2525import org .springframework .security .access .ConfigAttribute ;
2626import org .springframework .security .web .FilterInvocation ;
27+ import org .springframework .security .web .util .matcher .RequestMatcher ;
2728import org .springframework .util .Assert ;
2829
2930/**
3940 * The default <code>secureKeyword</code> is <code>REQUIRES_SECURE_CHANNEL</code>.
4041 *
4142 * @author Ben Alex
43+ * @deprecated no replacement is planned, though consider using a custom
44+ * {@link RequestMatcher} for any sophisticated decision-making
4245 */
46+ @ Deprecated
4347public class SecureChannelProcessor implements InitializingBean , ChannelProcessor {
4448
4549 private ChannelEntryPoint entryPoint = new RetryWithHttpsEntryPoint ();
You can’t perform that action at this time.
0 commit comments