Renamed hook function.

This commit is contained in:
Michael Jumper
2012-03-23 11:54:18 -07:00
parent 0b1011364d
commit e9fcab10b1

View File

@@ -3,10 +3,9 @@ package net.sourceforge.guacamole.net.event.listener;
import net.sourceforge.guacamole.net.event.AuthenticationFailureEvent; import net.sourceforge.guacamole.net.event.AuthenticationFailureEvent;
/** /**
* A listener whose postAuthenticationFailure() hook will fire immediately * A listener whose authenticationFailed() hook will fire immediately
* after a user's authentication attempt fails. Note that there is no * after a user's authentication attempt fails. Note that this hook cannot
* preAuthenticationFailure() hook - authentication failure cannot be canceled, * be used to cancel the authentication failure.
* it can only be observed after the fact.
* *
* @author Michael Jumper * @author Michael Jumper
*/ */
@@ -19,6 +18,6 @@ public interface AuthenticationFailureListener {
* @param e The AuthenticationFailureEvent describing the authentication * @param e The AuthenticationFailureEvent describing the authentication
* failure that just occurred. * failure that just occurred.
*/ */
public void postAuthenticationFailure(AuthenticationFailureEvent e); public void authenticationFailed(AuthenticationFailureEvent e);
} }