/*
 * Copyright (c) 2004-2017, by Alex Leigh.
 * All rights reserved.
 *
 * THIS IS UNPUBLISHED PROPRIETARY SOURCE CODE
 * The copyright notice above does not evidence any
 * actual or intended publication of such source code.
 */

package lc.mecha.cred;

/**
 * Classes implementing this interface provide storage for key material (passwords).
 *
 * @author Alex Leigh
 */

// TODO: DB-ALEIGH: I extended Serializable so I could use my implementation in an EO...it works but I want to make sure this was the right approach
public interface CredentialStore {
    Credential getMaterial(Principal p) throws Throwable;
}
