Document why InteractiveAuthenticationEvent doesn't extend AuthentcationEvent. This is to avoid multiple AuthenticationSuccessEvent from being sent to any listeners. Fixes gh-3857
@@ -26,6 +26,10 @@ import org.springframework.util.Assert;
* The <code>ApplicationEvent</code>'s <code>source</code> will be the
* <code>Authentication</code> object.
* </p>
+ * <p>
+ * This does not extend from <code>AuthenticationSuccessEvent</code> to avoid duplicate
+ * <code>AuthenticationSuccessEvent</code>s being sent to any listeners.
+ * </p>
*
* @author Ben Alex
*/