public class ClientUserAuthority extends GenericUserAuthority implements UserAuthority, AccountTypes
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
CLASS_VERSION |
SERVICE_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 |
|---|
ClientUserAuthority(RemoteUserAuthority pRemoteAuthority)
Wraps a remote user authority with a client-side implementation that
provides all the normal UserAuthority services.
|
ClientUserAuthority(java.lang.String pName,
RemoteUserAuthority pRemoteAuthority)
Wraps a remote user authority with a client-side implementation that
provides all the normal UserAuthority services.
|
| Modifier and Type | Method and Description |
|---|---|
void |
flush()
Flush cached persona information.
|
Persona |
getPersona(java.lang.Object pId)
Returns the persona associated with a particular user ID.
|
Persona[] |
getPersonae(java.lang.String[] pIds)
Given a set of persona IDs, return the set of personae they refer
to.
|
RemoteUserAuthority |
getRemoteUserAuthority()
Extract the remote user authority that we are encapsulating.
|
boolean |
loadPersonae(int pAccountType)
Forces the cache to be loaded with all personae of accounts of the
specified type.
|
addAuthenticationFailedListener, addAuthenticationSucceededListener, addSpecialPersona, fireAuthenticationFailedEvent, fireAuthenticationSucceededEvent, getProxyUserAuthorities, getSpecialPersonae, getSupportsEveryone, getUserAuthorityName, removeAuthenticationFailedListener, removeAuthenticationSucceededListener, removeSpecialPersona, setProxyUserAuthorities, setSpecialPersonae, setSupportsEveryone, setUserAuthorityName, userDestroyedaddToRegistry, getRegistry, getRegistryName, getServiceName, removeFromRegistry, setRegistryName, setServiceName, startService, stopServiceaddLogListener, createAdminServlet, doStartService, 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, waitaddAuthenticationFailedListener, addAuthenticationSucceededListener, getUserAuthorityName, removeAuthenticationFailedListener, removeAuthenticationSucceededListener, userDestroyedpublic ClientUserAuthority(RemoteUserAuthority pRemoteAuthority) throws java.rmi.RemoteException
pRemoteAuthority - The remote user authority to wrap.java.rmi.RemoteExceptionpublic ClientUserAuthority(java.lang.String pName,
RemoteUserAuthority pRemoteAuthority)
pName - The name to be given to the client-side user authority.pRemoteAuthority - The remote user authority to wrap.public void flush()
public RemoteUserAuthority getRemoteUserAuthority()
public Persona[] getPersonae(java.lang.String[] pIds)
public boolean loadPersonae(int pAccountType)
This won't do anything if the server-side user authority does not also implement the AccountManager interface.
public Persona getPersona(java.lang.Object pId)
getPersona in interface UserAuthoritygetPersona in class GenericUserAuthority