01: /*
02: * Copyright 2001-2007 Steven Grimm <koreth[remove] at midwinter dot com>
03: * Distributed under the terms of either:
04: * - the common development and distribution license (CDDL), v1.0; or
05: * - the GNU Lesser General Public License, v2.1 or later
06: * $Id$
07: */
08: package com.uwyn.rife.authentication.credentialsmanagers;
09:
10: import com.uwyn.rife.authentication.CredentialsManager;
11: import com.uwyn.rife.ioc.HierarchicalProperties;
12: import com.uwyn.rife.ioc.exceptions.PropertyValueException;
13:
14: /**
15: * Factory for {@link MemoryUsers} manager instances that basically retrieves
16: * the current memory credential from the default repository participant.
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: * @since 1.6
22: */
23: public class MemoryUsersFactory implements CredentialsManagerFactory {
24: public CredentialsManager getCredentialsManager(
25: HierarchicalProperties properties)
26: throws PropertyValueException {
27: return MemoryUsers.getRepInstance();
28: }
29: }
|