Interface FallbackAuthenticator

All Superinterfaces:
Authenticator

public interface FallbackAuthenticator extends Authenticator
Unlike Authenticator, if this is plugged in as the external authenticator, it will be used only as a fallback authenticator. That means, the Authenticator.login(StoredObject, char[]) and Authenticator.login(StoredObject, char[], int) methods will be invoked only if the internal authentication fails. The methods changePassword(StoredObject, char[], char[]) and resetPassword(StoredObject) are never called.

If the internal authentication succeeds and it will still invoke the Authenticator.login(StoredObject, char[], int) method to check the extra "authenticator code". In that case, the password passed will be null.

Author:
Syam