public class SerializedAccountManager extends GenericAccountManager implements LoginUserAuthority
Its limitations are:
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
CLASS_VERSION |
AUTHENTICATED, BAD_ACCOUNT_FAILURE, BAD_PASSWORD_FAILURE, CREATED_ACCOUNT, DEFAULT_GROUP_DOESNT_EXIST, INVALID_ACCOUNT, LOGIN_DISABLED_FAILURE, NO_PASSWORD_FAILURE, REMOVED_ACCOUNTSERVICE_INFO_KEYANY_ACCOUNT, GROUP_ACCOUNT, LOGIN_ACCOUNT, PRIVILEGE_ACCOUNTDEFAULT_LOG_TRACE_STATUSDEFAULT_LOG_DEBUG_STATUS, DEFAULT_LOG_ERROR_STATUS, DEFAULT_LOG_INFO_STATUS, DEFAULT_LOG_WARNING_STATUS| Constructor and Description |
|---|
SerializedAccountManager() |
| Modifier and Type | Method and Description |
|---|---|
void |
doStartService()
When this service starts up, we may want to punch in some new
accounts.
|
java.lang.String |
getFileName()
Returns the name of the file into which the account information will be
serialized.
|
protected Account |
newAccount(java.lang.String pAccountName,
int pType,
java.util.Map pAttributes)
Override standard account creation method with one that creates
slightly smarter account objects.
|
void |
removeAccount(java.lang.String pAccountName)
Overrides the standard removeAccount() method with one that will
save the modification.
|
void |
setFileName(java.lang.String pNewName)
Changes the name of the file into which the account information will be
serialized.
|
addAccount, clear, createAccount, getAccount, getAccountInitializer, getAccountIterator, getAlternateUserPasswordHasher, getAttributeResourceBundle, getDefaultLoginGroups, getDescriptionAttribute, getDisplayNameForAttribute, getFirstNameAttribute, getLastNameAttribute, getPasswordAttribute, getPasswordHasher, getPasswordHasherAttribute, getPersona, listAccounts, listMatchingAccounts, login, loginWithUserPasswordHasher, setAccountInitializer, setAccountMatchFields, setAlternateUserPasswordHasher, setAttributeResourceBundle, setDefaultLoginGroups, setDescriptionAttribute, setFirstNameAttribute, setLastNameAttribute, setPasswordAttribute, setPasswordHasher, setPasswordHasherAttribute, setPersonaeFor, setUserAuthorityNameaddAuthenticationFailedListener, addAuthenticationSucceededListener, addSpecialPersona, fireAuthenticationFailedEvent, fireAuthenticationSucceededEvent, getProxyUserAuthorities, getSpecialPersonae, getSupportsEveryone, getUserAuthorityName, removeAuthenticationFailedListener, removeAuthenticationSucceededListener, removeSpecialPersona, setProxyUserAuthorities, setSpecialPersonae, setSupportsEveryone, userDestroyedaddToRegistry, getRegistry, getRegistryName, getServiceName, removeFromRegistry, setRegistryName, setServiceName, startService, stopServiceaddLogListener, createAdminServlet, doStopService, getAbsoluteName, getAdminServlet, getAdminServletOutputStreamEncoding, getLoggingForVlogging, getLogListenerCount, getLogListeners, getName, getNameContext, getNucleus, getRoot, getServiceConfiguration, getServiceInfo, isAdminServletUseServletOutputStream, isLoggingDebug, isLoggingError, isLoggingInfo, isLoggingTrace, isLoggingWarning, isRunning, logDebug, logDebug, logDebug, logError, logError, logError, logInfo, logInfo, logInfo, logTrace, logTrace, logTrace, logWarning, logWarning, logWarning, nameContextElementBound, nameContextElementUnbound, removeLogListener, reResolveThis, resolveName, resolveName, resolveName, resolveName, sendLogEvent, setAdminServletOutputStreamEncoding, setAdminServletUseServletOutputStream, setLoggingDebug, setLoggingError, setLoggingInfo, setLoggingTrace, setLoggingWarning, setNucleus, setServiceInfovlogDebug, vlogDebug, vlogDebug, vlogDebug, vlogDebugTrace, vlogError, vlogError, vlogError, vlogError, vlogInfo, vlogInfo, vlogInfo, vlogInfo, vlogTrace, vlogTrace, vlogTrace, vlogTrace, vlogWarning, vlogWarning, vlogWarning, vlogWarningclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetAlternateUserPasswordHasher, getPasswordHasher, login, loginWithUserPasswordHasheraddAuthenticationFailedListener, addAuthenticationSucceededListener, getPersona, getUserAuthorityName, removeAuthenticationFailedListener, removeAuthenticationSucceededListener, userDestroyedpublic java.lang.String getFileName()
public void setFileName(java.lang.String pNewName)
public void doStartService()
GenericAccountManagerdoStartService in class GenericAccountManagerprotected Account newAccount(java.lang.String pAccountName, int pType, java.util.Map pAttributes)
newAccount in class GenericAccountManagerpublic void removeAccount(java.lang.String pAccountName)
throws NoSuchAccountException
removeAccount in interface AccountManagerremoveAccount in class GenericAccountManagerNoSuchAccountException