@Test public void testProcessFilter() { entryPoint.setFilterSuffix("/saml/sso"); expect(request.getRequestURI()).andReturn("/web/saml/sso"); expect(request.getRequestURI()).andReturn("/saml/sso"); expect(request.getRequestURI()).andReturn("/saml"); expect(request.getRequestURI()).andReturn("/sso/"); expect(request.getRequestURI()).andReturn("/saml/sso/"); replayMock(); assertTrue(entryPoint.processFilter(request)); assertTrue(entryPoint.processFilter(request)); assertFalse(entryPoint.processFilter(request)); assertFalse(entryPoint.processFilter(request)); assertTrue(entryPoint.processFilter(request)); verifyMock(); }
protected boolean processFilter(HttpServletRequest request) { return SAMLUtil.processFilter(filterProcessesUrl, request); }
SAMLEntryPoint extends GenericFilterBean implements AuthenticationEntryPoint { protected boolean processFilter(HttpServletRequest request) { return SAMLUtil.processFilter(filterProcessesUrl, request); } }
SAMLEntryPoint extends GenericFilterBean implements AuthenticationEntryPoint { protected boolean processFilter(HttpServletRequest request) { return SAMLUtil.processFilter(filterProcessesUrl, request); }  }
SAMLEntryPoint extends GenericFilterBean implements AuthenticationEntryPoint { protected boolean processFilter(HttpServletRequest request) { return SAMLUtil.processFilter(filterProcessesUrl, request); }  void doFilter(ServletRequest request, ServletResponse response, FilterChain chain); void commence(HttpServletRequest request, HttpServletResponse response, AuthenticationException e); void setDefaultProfileOptions(WebSSOProfileOptions defaultOptions); String getIdpSelectionPath(); void setFilterProcessesUrl(String filterSuffix); String getFilterProcessesUrl(); @Deprecated void setFilterSuffix(String filterSuffix); void setIdpSelectionPath(String idpSelectionPath); @Autowired @Qualifier("webSSOprofile") void setWebSSOprofile(WebSSOProfile webSSOprofile); WebSSOProfile getWebSSOprofileECP(); @Autowired(required = false) @Qualifier("ecpprofile") void setWebSSOprofileECP(WebSSOProfile webSSOprofileECP); @Autowired void setSamlLogger(SAMLLogger samlLogger); @Autowired void setContextProvider(SAMLContextProvider contextProvider); @Autowired void setMetadata(MetadataManager metadata); @Override void afterPropertiesSet(); }
SAMLEntryPoint extends GenericFilterBean implements AuthenticationEntryPoint { protected boolean processFilter(HttpServletRequest request) { return SAMLUtil.processFilter(filterProcessesUrl, request); }  void doFilter(ServletRequest request, ServletResponse response, FilterChain chain); void commence(HttpServletRequest request, HttpServletResponse response, AuthenticationException e); void setDefaultProfileOptions(WebSSOProfileOptions defaultOptions); String getIdpSelectionPath(); void setFilterProcessesUrl(String filterSuffix); String getFilterProcessesUrl(); @Deprecated void setFilterSuffix(String filterSuffix); void setIdpSelectionPath(String idpSelectionPath); @Autowired @Qualifier("webSSOprofile") void setWebSSOprofile(WebSSOProfile webSSOprofile); WebSSOProfile getWebSSOprofileECP(); @Autowired(required = false) @Qualifier("ecpprofile") void setWebSSOprofileECP(WebSSOProfile webSSOprofileECP); @Autowired void setSamlLogger(SAMLLogger samlLogger); @Autowired void setContextProvider(SAMLContextProvider contextProvider); @Autowired void setMetadata(MetadataManager metadata); @Override void afterPropertiesSet(); static final String IDP_PARAMETER; static final String LOGIN_PARAMETER; static final String DISCOVERY_RESPONSE_PARAMETER; }