org.springframework.security.web.firewall.DefaultHttpFirewall Java Examples
The following examples show how to use
org.springframework.security.web.firewall.DefaultHttpFirewall.
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: SpringSecurityConfig.java From pacbot with Apache License 2.0 | 5 votes |
/** * Allow url encoded slash http firewall. * * @return the http firewall */ @Bean public HttpFirewall allowUrlEncodedSlashHttpFirewall() { DefaultHttpFirewall firewall = new DefaultHttpFirewall(); firewall.setAllowUrlEncodedSlash(true); return firewall; }
Example #2
Source File: SpringSecurityConfig.java From pacbot with Apache License 2.0 | 5 votes |
/** * Allow url encoded slash http firewall. * * @return the http firewall */ @Bean public HttpFirewall allowUrlEncodedSlashHttpFirewall() { DefaultHttpFirewall firewall = new DefaultHttpFirewall(); firewall.setAllowUrlEncodedSlash(true); return firewall; }
Example #3
Source File: SpringSecurityConfig.java From pacbot with Apache License 2.0 | 5 votes |
/** * Allow url encoded slash http firewall. * * @return the http firewall */ @Bean public HttpFirewall allowUrlEncodedSlashHttpFirewall() { DefaultHttpFirewall firewall = new DefaultHttpFirewall(); firewall.setAllowUrlEncodedSlash(true); return firewall; }
Example #4
Source File: SpringSecurityConfig.java From pacbot with Apache License 2.0 | 5 votes |
/** * Allow url encoded slash http firewall. * * @return the http firewall */ @Bean public HttpFirewall allowUrlEncodedSlashHttpFirewall() { DefaultHttpFirewall firewall = new DefaultHttpFirewall(); firewall.setAllowUrlEncodedSlash(true); return firewall; }
Example #5
Source File: SecurityConfig.java From para with Apache License 2.0 | 5 votes |
/** * Configures the unsecured public resources. * * @param web web sec object * @throws Exception ex */ @Override public void configure(WebSecurity web) throws Exception { web.ignoring().requestMatchers(IgnoredRequestMatcher.INSTANCE); DefaultHttpFirewall firewall = new DefaultHttpFirewall(); firewall.setAllowUrlEncodedSlash(true); web.httpFirewall(firewall); //web.debug(true); }
Example #6
Source File: SecurityConfig.java From Spring with Apache License 2.0 | 4 votes |
@Bean public HttpFirewall httpFirewall() { return new DefaultHttpFirewall(); }
Example #7
Source File: SecurityConfiguration.java From multiapps-controller with Apache License 2.0 | 4 votes |
@Bean("customHttpFirewall") public HttpFirewall customHttpFirewall() { DefaultHttpFirewall defaultHttpFirewall = new DefaultHttpFirewall(); defaultHttpFirewall.setAllowUrlEncodedSlash(true); return defaultHttpFirewall; }
Example #8
Source File: ApolloMetaServiceConfig.java From apollo with Apache License 2.0 | 4 votes |
@Bean public HttpFirewall allowUrlEncodedSlashHttpFirewall() { return new DefaultHttpFirewall(); }
Example #9
Source File: SecurityConfiguration.java From flowable-engine with Apache License 2.0 | 4 votes |
@Bean public HttpFirewall defaultFireWall() { DefaultHttpFirewall firewall = new DefaultHttpFirewall(); firewall.setAllowUrlEncodedSlash(true); return firewall; }
Example #10
Source File: WebSecurityContext.java From syncope with Apache License 2.0 | 4 votes |
@Bean public HttpFirewall allowUrlEncodedSlashHttpFirewall() { DefaultHttpFirewall firewall = new DefaultHttpFirewall(); firewall.setAllowUrlEncodedSlash(true); return firewall; }
Example #11
Source File: HttpConfig.java From cosmo with Apache License 2.0 | 2 votes |
/** * Provide a less restrictive firewall by default and allow applications to overwrite it. * * @return <code>HttpFirewall</code> instance. */ @Bean public HttpFirewall httpFirewall() { return new DefaultHttpFirewall(); }