Class ChannelSecurityConfigurer<H extends HttpSecurityBuilder<H>>

java.lang.Object
org.springframework.security.config.annotation.SecurityConfigurerAdapter<org.springframework.security.web.DefaultSecurityFilterChain,B>
org.springframework.security.config.annotation.web.configurers.AbstractHttpConfigurer<ChannelSecurityConfigurer<H>,H>
org.springframework.security.config.annotation.web.configurers.ChannelSecurityConfigurer<H>
Type Parameters:
H - the type of HttpSecurityBuilder that is being configured
All Implemented Interfaces:
SecurityConfigurer<org.springframework.security.web.DefaultSecurityFilterChain,H>

public final class ChannelSecurityConfigurer<H extends HttpSecurityBuilder<H>> extends AbstractHttpConfigurer<ChannelSecurityConfigurer<H>,H>
Adds channel security (i.e. requires HTTPS or HTTP) to an application. In order for ChannelSecurityConfigurer to be useful, at least one RequestMatcher should be mapped to HTTP or HTTPS.

By default an InsecureChannelProcessor and a SecureChannelProcessor will be registered.

Security Filters

The following Filters are populated
  • ChannelProcessingFilter

Shared Objects Created

No shared objects are created.

Shared Objects Used

The following shared objects are used:
  • PortMapper is used to create the default ChannelProcessor instances
Since:
3.2