@Override public void configure(final WebSecurity web) { web.ignoring().requestMatchers(PUBLIC_URLS); }
/** * 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); }
/** * 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); //web.debug(true); }
@Override public void init(WebSecurity builder) throws Exception { builder.ignoring().requestMatchers( new AntPathRequestMatcher("/cloudfoundryapplication/**")); }
@Override public void init(final WebSecurity web) throws Exception { final RequestMatcher requestMatcher = swaggerRequestMatcher(); if (requestMatcher != null) { web.ignoring().requestMatchers(requestMatcher); } //super.init(web); // don't call super here or there will be a duplicate AnyRequestMatcher. }