void function ( ) { SAMLTestHelper . setLocalContextParameters ( request , "srini_string" , null ) ; expect ( processor . retrieveMessage ( ( SAMLMessageContext ) notNull ( ) ) ) . andThrow ( new SAMLException ( "srini_string" ) ) ; replayMock ( ) ; processingFiler . attemptAuthentication ( request , null ) ; verifyMock ( ) ; }
verifies that error during processing results in error of whole authentication . concode_field_sep SAMLProcessingFilter processingFiler concode_elem_sep HttpServletRequest request concode_elem_sep HttpSession session concode_elem_sep ApplicationContext context concode_elem_sep SAMLProcessor processor concode_field_sep void testMissingProcessor concode_elem_sep void testDefaultURL concode_elem_sep void constructorStringFilterProcessUrlNotNull concode_elem_sep void requiresLogout concode_elem_sep void verifyMock concode_elem_sep void initialize concode_elem_sep void replayMock concode_elem_sep void testInvalidEndpoint concode_elem_sep void testCorrectPass concode_elem_sep void constructorDefaultFilterProcessUrlNotNull concode_elem_sep void testInvalidBinding