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