blob: 99c244e5a59a73ff777c95befc2fb5cbc6b6f615 (
plain) (
tree)
|
|
/***************************************************************************
* Copyright (c) 2004 - 2008 Eike Stepper, Germany.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
*
* Contributors:
* Eike Stepper - initial API and implementation
**************************************************************************/
package org.eclipse.net4j.internal.util.security;
/**
* TODO Consider file attributes when creating initially empty file
*
* @author Eike Stepper
*/
public class FileUserManagerFactory extends UserManagerFactory
{
public static final String TYPE = "file";
public FileUserManagerFactory()
{
super(TYPE);
}
public FileUserManager create(String description)
{
FileUserManager userManager = new FileUserManager();
userManager.setFileName(description);
return userManager;
}
}
|