@Override
    public Map<String, String> loadProperties(String username) throws UserNotFoundException
    {
        if (!data.containsKey(username)) {
            throw new UserNotFoundException();
        }
        return data.get(username);
    }
A very basic implementation of a UserPropertyProvider, that retains data in-memory.

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