/*
 * Created on 2004-7-1
 *
 * To change the template for this generated file go to
 * Window - Preferences - Java - Code Generation - Code and Comments
 */
package workflow.store;

import workflow.wfmc.pm.Participant;

/**
 * @author reic
 *
 * To change the template for this generated type comment go to
 * Window - Preferences - Java - Code Generation - Code and Comments
 */
public interface RealmDatabase
{
	/**
	 * Return the Participant associated with the specified username and
	 * credentials, if there is one; otherwise return <code>null</code>.
	 *
	 * @param username Username of the Participant to look up
	 * @param credentials Password or other credentials to use in
	 *  authenticating this username
	 */
	public Participant authenticate(String username, String credentials);
}
