Fix typo in InteractiveAuthenticationSucces(s)Event
This commit is contained in:
parent
c7bfeeaf58
commit
d9b1a8e83c
|
@ -118,7 +118,7 @@ import javax.servlet.http.HttpServletResponse;
|
|||
*
|
||||
* <p>
|
||||
* If authentication is successful, an {@link
|
||||
* net.sf.acegisecurity.ui.InteractiveAuthenticationSuccesEvent} will be
|
||||
* net.sf.acegisecurity.ui.InteractiveAuthenticationSuccessEvent} will be
|
||||
* published to the application context. No events will be published if
|
||||
* authentication was unsuccessful, because this would generally be recorded
|
||||
* via an <code>AuthenticationManager</code>-specific application event.
|
||||
|
@ -421,7 +421,7 @@ public abstract class AbstractProcessingFilter implements Filter,
|
|||
|
||||
// Fire event
|
||||
if (this.context != null) {
|
||||
context.publishEvent(new InteractiveAuthenticationSuccesEvent(
|
||||
context.publishEvent(new InteractiveAuthenticationSuccessEvent(
|
||||
authResult, this.getClass()));
|
||||
}
|
||||
|
||||
|
|
|
@ -33,14 +33,14 @@ import org.springframework.util.Assert;
|
|||
* @author Ben Alex
|
||||
* @version $Id$
|
||||
*/
|
||||
public class InteractiveAuthenticationSuccesEvent extends ApplicationEvent {
|
||||
public class InteractiveAuthenticationSuccessEvent extends ApplicationEvent {
|
||||
//~ Instance fields ========================================================
|
||||
|
||||
private Class generatedBy;
|
||||
|
||||
//~ Constructors ===========================================================
|
||||
|
||||
public InteractiveAuthenticationSuccesEvent(Authentication authentication,
|
||||
public InteractiveAuthenticationSuccessEvent(Authentication authentication,
|
||||
Class generatedBy) {
|
||||
super(authentication);
|
||||
Assert.notNull(generatedBy);
|
|
@ -16,7 +16,7 @@
|
|||
package net.sf.acegisecurity.ui.rememberme;
|
||||
|
||||
import net.sf.acegisecurity.context.SecurityContextHolder;
|
||||
import net.sf.acegisecurity.ui.InteractiveAuthenticationSuccesEvent;
|
||||
import net.sf.acegisecurity.ui.InteractiveAuthenticationSuccessEvent;
|
||||
import net.sf.acegisecurity.Authentication;
|
||||
|
||||
import org.apache.commons.logging.Log;
|
||||
|
@ -59,7 +59,7 @@ import javax.servlet.http.HttpServletResponse;
|
|||
*
|
||||
* <p>
|
||||
* If authentication is successful, an {@link
|
||||
* net.sf.acegisecurity.ui.InteractiveAuthenticationSuccesEvent} will be
|
||||
* net.sf.acegisecurity.ui.InteractiveAuthenticationSuccessEvent} will be
|
||||
* published to the application context. No events will be published if
|
||||
* authentication was unsuccessful, because this would generally be recorded
|
||||
* via an <code>AuthenticationManager</code>-specific application event.
|
||||
|
@ -137,7 +137,7 @@ public class RememberMeProcessingFilter implements Filter, InitializingBean,
|
|||
|
||||
// Fire event
|
||||
if (this.context != null) {
|
||||
context.publishEvent(new InteractiveAuthenticationSuccesEvent(
|
||||
context.publishEvent(new InteractiveAuthenticationSuccessEvent(
|
||||
SecurityContextHolder.getContext().getAuthentication(),
|
||||
this.getClass()));
|
||||
}
|
||||
|
|
|
@ -21,7 +21,7 @@ import net.sf.acegisecurity.AuthenticationManager;
|
|||
import net.sf.acegisecurity.context.SecurityContextHolder;
|
||||
import net.sf.acegisecurity.providers.x509.X509AuthenticationToken;
|
||||
import net.sf.acegisecurity.ui.AbstractProcessingFilter;
|
||||
import net.sf.acegisecurity.ui.InteractiveAuthenticationSuccesEvent;
|
||||
import net.sf.acegisecurity.ui.InteractiveAuthenticationSuccessEvent;
|
||||
import net.sf.acegisecurity.ui.WebAuthenticationDetails;
|
||||
|
||||
import org.apache.commons.logging.Log;
|
||||
|
@ -60,7 +60,7 @@ import javax.servlet.http.HttpServletResponse;
|
|||
*
|
||||
* <p>
|
||||
* If authentication is successful, an {@link
|
||||
* net.sf.acegisecurity.ui.InteractiveAuthenticationSuccesEvent} will be
|
||||
* net.sf.acegisecurity.ui.InteractiveAuthenticationSuccessEvent} will be
|
||||
* published to the application context. No events will be published if
|
||||
* authentication was unsuccessful, because this would generally be recorded
|
||||
* via an <code>AuthenticationManager</code>-specific application event.
|
||||
|
@ -188,7 +188,7 @@ public class X509ProcessingFilter implements Filter, InitializingBean,
|
|||
|
||||
// Fire event
|
||||
if (this.context != null) {
|
||||
context.publishEvent(new InteractiveAuthenticationSuccesEvent(
|
||||
context.publishEvent(new InteractiveAuthenticationSuccessEvent(
|
||||
authResult, this.getClass()));
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue