Doc InteractiveAuthenticationEvent doesn't extend AuthentcationEvent

Document why InteractiveAuthenticationEvent doesn't extend
AuthentcationEvent. This is to avoid multiple AuthenticationSuccessEvent
from being sent to any listeners.

Fixes gh-3857
This commit is contained in:
Rob Winch 2016-06-17 17:16:54 -05:00
parent 9fa2c64737
commit d2b909e7c5
1 changed files with 4 additions and 0 deletions

View File

@ -26,6 +26,10 @@ import org.springframework.util.Assert;
* The <code>ApplicationEvent</code>'s <code>source</code> will be the * The <code>ApplicationEvent</code>'s <code>source</code> will be the
* <code>Authentication</code> object. * <code>Authentication</code> object.
* </p> * </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 * @author Ben Alex
*/ */