public Map<String, String> getStoredPasswordsProviders() {
   Map<String, String> results = new HashMap<String, String>();
   results.put(null, user.getUsername());
   for (JCRStoreProvider provider : sessionFactory.getProviders().values()) {
     if ("storedPasswords".equals(provider.getAuthenticationType())) {
       results.put(provider.getKey(), user.getProperty("storedUsername_" + provider.getKey()));
     }
   }
   return results;
 }
 public JCRNodeWrapper getNodeByUUID(String providerKey, String uuid)
     throws ItemNotFoundException, RepositoryException {
   JCRStoreProvider provider = sessionFactory.getProviders().get(providerKey);
   if (provider == null) {
     throw new ItemNotFoundException(uuid);
   }
   Session session = getProviderSession(provider);
   Node n = session.getNodeByIdentifier(uuid);
   return provider.getNodeWrapper(n, this);
 }