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