Bläddra i källkod

Fix typo in InteractiveAuthenticationSucces(s)Event

Ben Alex 20 år sedan
förälder
incheckning
d9b1a8e83c

+ 2 - 2
core/src/main/java/org/acegisecurity/ui/AbstractProcessingFilter.java

@@ -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()));
         }
 

+ 2 - 2
core/src/main/java/org/acegisecurity/ui/InteractiveAuthenticationSuccesEvent.java → core/src/main/java/org/acegisecurity/ui/InteractiveAuthenticationSuccessEvent.java

@@ -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);

+ 3 - 3
core/src/main/java/org/acegisecurity/ui/rememberme/RememberMeProcessingFilter.java

@@ -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()));
                 }

+ 3 - 3
core/src/main/java/org/acegisecurity/ui/x509/X509ProcessingFilter.java

@@ -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()));
         }
     }