
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) 2011, 2012 Eike Stepper (Berlin, Germany) and others.