public class FileUserManager extends UserManager
ILifecycle.DeferrableActivation| Modifier and Type | Field and Description |
|---|---|
protected String |
fileName |
users| Constructor and Description |
|---|
FileUserManager() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
doBeforeActivate() |
String |
getFileName() |
protected void |
load(Map<String,char[]> users) |
protected void |
load(Map<String,char[]> users,
InputStream stream) |
protected void |
save(Map<String,char[]> users) |
protected void |
save(Map<String,char[]> users,
FileOutputStream stream) |
void |
setFileName(String fileName) |
addUser, authenticate, doActivate, doDeactivate, encrypt, getPassword, removeUseractivate, checkActive, checkArg, checkArg, checkInactive, checkNull, checkState, checkState, deactivate, deferredActivate, doAfterActivate, doBeforeDeactivate, dump, getLifecycleState, isActive, isDeferredActivation, toStringaddListener, fireEvent, fireEvent, fireEvent, fireThrowable, firstListenerAdded, getListeners, getNotificationService, hasListeners, lastListenerRemoved, removeListenerclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitaddListener, getListeners, hasListeners, removeListenerprotected String fileName
public String getFileName()
public void setFileName(String fileName)
protected void doBeforeActivate()
throws Exception
doBeforeActivate in class LifecycleExceptionprotected void load(Map<String,char[]> users) throws IORuntimeException
load in class UserManagerIORuntimeExceptionprotected void load(Map<String,char[]> users, InputStream stream) throws IOException
IOExceptionprotected void save(Map<String,char[]> users) throws IORuntimeException
save in class UserManagerIORuntimeExceptionprotected void save(Map<String,char[]> users, FileOutputStream stream) throws IOException
IOExceptionCopyright (c) 2014 Eike Stepper (Berlin, Germany) and others.
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