Java 类org.springframework.security.web.firewall.HttpFirewall 实例源码

项目:IdentityRegistry    文件:MultiSecurityConfig.java   
@Bean
public HttpFirewall allowUrlEncodedSlashHttpFirewall() {
    DefaultHttpFirewall firewall = new DefaultHttpFirewall();
    firewall.setAllowUrlEncodedSlash(true);
    return firewall;
}
项目:flowable-engine    文件:SecurityConfiguration.java   
@Bean
public HttpFirewall defaultFireWall() {
    DefaultHttpFirewall firewall = new DefaultHttpFirewall();
    firewall.setAllowUrlEncodedSlash(true);
    return firewall;
}