view src/kryshen/catalina/startup/UserDatabase.java @ 4:6ef7cbf5c8d6

Cleanup.
author Mikhail Kryshen <mikhail@kryshen.net>
date Fri, 30 Oct 2009 05:15:03 +0300
parents 3ab011b6e6e8
children 64c05808a046
line wrap: on
line source

package kryshen.catalina.startup;

import java.io.File;
import java.util.Map;

/**
 *
 * @author Mikhail Kryshen
 */
public interface UserDatabase {

    /**
     * Return the UserConfig listener with which we are associated.
     */
    public UserConfig getUserConfig();

    /**
     * Set the UserConfig listener with which we are associated.
     *
     * @param userConfig The new UserConfig listener
     */
    public void setUserConfig(UserConfig userConfig);

    /**
     * Return mapping between usernames and homes.
     */
     Map<String, File> getUserHomes();
}