01: /*
02: * Copyright 2001-2007 Steven Grimm <koreth[remove] at midwinter dot com> and
03: * Geert Bevin <gbevin[remove] at uwyn dot com>
04: * Distributed under the terms of either:
05: * - the common development and distribution license (CDDL), v1.0; or
06: * - the GNU Lesser General Public License, v2.1 or later
07: * $Id$
08: */
09: package com.uwyn.rife.authentication.remembermanagers;
10:
11: import com.uwyn.rife.authentication.RememberManager;
12: import com.uwyn.rife.ioc.HierarchicalProperties;
13: import com.uwyn.rife.ioc.exceptions.PropertyValueException;
14:
15: /**
16: * Classes that generate {@link RememberManager} objects implement this interface.
17: *
18: * @author Steven Grimm (koreth[remove] at midwinter dot com)
19: * @author Geert Bevin (gbevin[remove] at uwyn dot com)
20: * @version $Revision: $
21: * @see RememberManager
22: * @since 1.6
23: */
24: public interface RememberManagerFactory {
25: /**
26: * Returns the manager specified by properties.
27: * <p>
28: * The specific properties that are used are determined by the
29: * implementation class.
30: *
31: * @param properties the properties that will setup the manager
32: * @throws PropertyValueException when an error occurred during the retrieval
33: * of the property values
34: * @since 1.6
35: */
36: public RememberManager getRememberManager(
37: HierarchicalProperties properties)
38: throws PropertyValueException;
39: }
|