From b437dddbde02a9fb1a0e802cefc9eb9b5757e811 Mon Sep 17 00:00:00 2001 From: svlada Date: Fri, 26 Aug 2016 11:17:37 +0200 Subject: [PATCH] Work on blog. --- etc/blog.md | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/etc/blog.md b/etc/blog.md index b61778d..025f6cb 100644 --- a/etc/blog.md +++ b/etc/blog.md @@ -180,9 +180,7 @@ SEEG60YRznBB2O7Gn_5X6YbRmyB3ml4hnpSOxqkwQUFtqA6MZo7_n2Am2QhTJBJA1Ygv74F2IxiLv0ur #### AjaxLoginProcessingFilter -AbstractAuthenticationProcessingFilter class is responsible for processing of HTTP-based authentication requests. Please note that AuthenticationManager must be set for this class. - -AjaxLoginProcessingFilter is overriding AbstractAuthenticationProcessingFilter to provide implementation for AJAX based authentication. +First step is to extend AbstractAuthenticationProcessingFilter to provide custom processing of Ajax authentication requests. Parsing and basic validation of incoming JSON payload is done in the AjaxLoginProcessingFilter#attemptAuthentication method. If authentication JSON payload is valid, actual authentication logic is delegated to AjaxAuthenticationProvider class.