Java 类org.springframework.security.web.PortResolverImpl 实例源码

项目:communote-server    文件:ForceSslChannelFilter.java   
/**
 * {@inheritDoc}
 */
@Override
public void afterPropertiesSet() throws Exception {
    ForceSslPortMapper portMapper = new ForceSslPortMapper(null);
    PortResolverImpl portResolver = new PortResolverImpl();
    portResolver.setPortMapper(portMapper);
    entryPointHttps.setPortMapper(portMapper);
    entryPointHttps.setPortResolver(portResolver);
}