public SortedSet<String> listFilterCandidates(GeoServerSecurityManager m) throws IOException { SortedSet<String> result = new TreeSet<String>(); for (String filterName : m.listFilters(GeoServerAuthenticationFilter.class)) { GeoServerAuthenticationFilter filter = (GeoServerAuthenticationFilter) m.loadFilter(filterName); if (filter.applicableForHtml()) result.add(filterName); } return result; } }
public SortedSet<String> listFilterCandidates(GeoServerSecurityManager m) throws IOException { SortedSet<String> result = new TreeSet<String>(); for (String filterName : m.listFilters(GeoServerAuthenticationFilter.class)) { GeoServerAuthenticationFilter filter = (GeoServerAuthenticationFilter) m.loadFilter(filterName); if (filter.applicableForServices()) result.add(filterName); } return result; } }
&& authFilter.applicableForHtml() == false) { throw createSecurityException( SecurityConfigException.NOT_A_HTML_AUTHENTICATION_FILTER_$2, && authFilter.applicableForServices() == false) { throw createSecurityException( SecurityConfigException.NOT_A_SERVICE_AUTHENTICATION_FILTER_$2,