@Override
    public String loadProperty(String username, String propName) throws UserNotFoundException
    {
        if (!data.containsKey(username)) {
            throw new UserNotFoundException();
        }
        return data.get(username).get(propName);
    }
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