@Override
    public int getMaxStages(@Nonnull final SessionData data) {
        return 1;
    }
Takes a user's username and password to authenticate them against the Openfire authprovider.

@author Alexander Wenckus
xmppserver/src/main/java/org/jivesoftware/openfire/commands/admin/user/AuthenticateUser.java