/** * Adds a mapping of the {@link RequestMatcher} instances to the {@link ConfigAttribute} instances. * @param requestMatchers the {@link RequestMatcher} instances that should map to the provided {@link ConfigAttribute} instances * @param configAttributes the {@link ConfigAttribute} instances that should be mapped by the {@link RequestMatcher} instances * @return the {@link UrlAuthorizationConfigurer} for further customizations */ private UrlAuthorizationConfigurer<H,C> addMapping(Iterable<? extends RequestMatcher> requestMatchers, Collection<ConfigAttribute> configAttributes) { for(RequestMatcher requestMatcher : requestMatchers) { addMapping(new UrlMapping(requestMatcher, configAttributes)); } return this; }