@Override public void configure(WebSecurity web) throws Exception { web.httpFirewall(httpFirewall); }
@Override public void configure(WebSecurity web) throws Exception { web.httpFirewall(httpFirewall); }
@Override public void configure(WebSecurity web) throws Exception { web.httpFirewall(httpFirewall); }
@Override public void configure(final WebSecurity web) throws Exception { web.httpFirewall(allowUrlEncodedSlashHttpFirewall()); }
@Override public void configure(WebSecurity web) throws Exception { String ignoreUrl = StringUtils.deleteWhitespace(env.getProperty("security.ignore.url")); if(StringUtils.isNotBlank(ignoreUrl)){ String[] ignoreUrls = ignoreUrl.split(","); for(int i = 0; i < ignoreUrls.length; i++){ web.ignoring().antMatchers(ignoreUrls[i]); } } web.httpFirewall(httpFirewall()); }
/** * 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); }
/** * 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); }
@Override public void configure(WebSecurity web) throws Exception { web.httpFirewall(allowUrlEncodedSlashHttpFirewall()); web.ignoring().antMatchers(AUTH_WHITELIST); web.ignoring().antMatchers(HttpMethod.OPTIONS, "/**"); }
@Override public void configure(WebSecurity web) throws Exception { web.httpFirewall(allowUrlEncodedSlashHttpFirewall()); web.ignoring().antMatchers(AUTH_WHITELIST); web.ignoring().antMatchers(HttpMethod.OPTIONS, "/**"); }