|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object atg.nucleus.logging.VariableArgumentApplicationLoggingImpl atg.nucleus.GenericService atg.nucleus.RegisteredService atg.security.GenericUserAuthority atg.security.ClientUserAuthority
public class ClientUserAuthority
A client-side object that wraps a remote user authority.
Field Summary | |
---|---|
static java.lang.String |
CLASS_VERSION
|
Fields inherited from class atg.nucleus.GenericService |
---|
SERVICE_INFO_KEY |
Fields inherited from interface atg.security.AccountTypes |
---|
ANY_ACCOUNT, GROUP_ACCOUNT, LOGIN_ACCOUNT, PRIVILEGE_ACCOUNT |
Fields inherited from interface atg.nucleus.logging.TraceApplicationLogging |
---|
DEFAULT_LOG_TRACE_STATUS |
Fields inherited from interface atg.nucleus.logging.ApplicationLogging |
---|
DEFAULT_LOG_DEBUG_STATUS, DEFAULT_LOG_ERROR_STATUS, DEFAULT_LOG_INFO_STATUS, DEFAULT_LOG_WARNING_STATUS |
Constructor Summary | |
---|---|
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. |
Method Summary | |
---|---|
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. |
Methods inherited from class atg.nucleus.RegisteredService |
---|
addToRegistry, getRegistry, getRegistryName, getServiceName, removeFromRegistry, setRegistryName, setServiceName, startService, stopService |
Methods inherited from class atg.nucleus.logging.VariableArgumentApplicationLoggingImpl |
---|
vlogDebug, vlogDebug, vlogDebug, vlogDebug, vlogError, vlogError, vlogError, vlogError, vlogInfo, vlogInfo, vlogInfo, vlogInfo, vlogTrace, vlogTrace, vlogTrace, vlogTrace, vlogWarning, vlogWarning, vlogWarning, vlogWarning |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface atg.security.UserAuthority |
---|
addAuthenticationFailedListener, addAuthenticationSucceededListener, getUserAuthorityName, removeAuthenticationFailedListener, removeAuthenticationSucceededListener, userDestroyed |
Field Detail |
---|
public static java.lang.String CLASS_VERSION
Constructor Detail |
---|
public ClientUserAuthority(RemoteUserAuthority pRemoteAuthority) throws java.rmi.RemoteException
pRemoteAuthority
- The remote user authority to wrap.
java.rmi.RemoteException
public 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.Method Detail |
---|
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 UserAuthority
getPersona
in class GenericUserAuthority
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |