SAMLProcessingFilter extends AbstractAuthenticationProcessingFilter { @Autowired public void setSAMLProcessor(SAMLProcessor processor) { Assert.notNull(processor, "SAML Processor can't be null"); this.processor = processor; } SAMLProcessingFilter(); protected  SAMLProcessingFilter(String defaultFilterProcessesUrl); Authentication attemptAuthentication(HttpServletRequest request, HttpServletResponse response); @Deprecated void setDefaultTargetUrl(String url); @Autowired void setSAMLProcessor(SAMLProcessor processor); @Autowired void setContextProvider(SAMLContextProvider contextProvider); @Autowired(required = false) void setUriComparator(URIComparator uriComparator); @Override void afterPropertiesSet(); @Override void setFilterProcessesUrl(String filterProcessesUrl); String getFilterProcessesUrl(); static final String FILTER_URL; }
@Test(expected = IllegalArgumentException.class) public void testMissingProcessor() { expect(request.getContextPath()).andReturn("/saml"); processingFiler.setSAMLProcessor(null); }