@Override
    public UserPropertyProvider getUserPropertyProvider(String username)
    {
        if (providers.containsKey(username)) {
            return providers.get(username);
        }
        return providers.get(null);
    }
A mapper that can be used with the TestUserPropertyProvider implementations.

@author Guus der Kinderen, guus@goodbytes.nl
xmppserver/src/test/java/org/jivesoftware/openfire/user/property/TestUserPropertyProviderMapper.java