@Override
    public int getIterations(String username) throws UnsupportedOperationException, UserNotFoundException {
        throw new UnsupportedOperationException();
    }
Returns if the username and password are valid; otherwise this
method throws an UnauthorizedException.<p>

@param username the username or full JID.
@param password the password
@throws UnauthorizedException if the username and password do
     not match any existing user.
@throws ConnectionException it there is a problem connecting to user and group system
@throws InternalUnauthenticatedException if there is a problem authentication Openfire itself into the user and group system
xmppserver/src/main/java/org/jivesoftware/openfire/crowd/CrowdAuthProvider.java