atg.security
Class SerializedProxyUserAuthority

java.lang.Object
  extended by atg.nucleus.logging.VariableArgumentApplicationLoggingImpl
      extended by atg.nucleus.GenericService
          extended by atg.nucleus.RegisteredService
              extended by atg.security.GenericUserAuthority
                  extended by atg.security.SerializedProxyUserAuthority
All Implemented Interfaces:
NameContextBindingListener, NameContextElement, NameResolver, AdminableService, ApplicationLogging, atg.nucleus.logging.ApplicationLoggingSender, atg.nucleus.logging.TraceApplicationLogging, atg.nucleus.logging.VariableArgumentApplicationLogging, ComponentNameResolver, Service, ServiceListener, ProxyUserAuthority, UserAuthority, UserAuthority2, java.io.Serializable, java.util.EventListener

public class SerializedProxyUserAuthority
extends GenericUserAuthority
implements ProxyUserAuthority, java.io.Serializable

A serializable version of a proxy user authority. This represents a proxy user authority on the client. Its purpose is primarily to preserve whatever special lookup semantics the proxy may have on the server (e.g. name mapping as is done by atg.userdirectory.UserDirectoryLoginUserAuthority).

See Also:
Serialized Form

Field Summary
static java.lang.String CLASS_VERSION
          Class version string
 
Fields inherited from class atg.nucleus.GenericService
SERVICE_INFO_KEY
 
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
SerializedProxyUserAuthority()
           
SerializedProxyUserAuthority(UserAuthority pAuthority)
           
 
Method Summary
 Persona getPersona(java.lang.Object pId)
          Returns a persona for the given ID object.
 UserAuthority getUserAuthority()
          Returns the real user authority that this proxy is a substitute for, if possible.
 void setUserAuthority(UserAuthority pNewAuthority)
          Changes the real user authority that this proxy is a substitute for, if possible.
 
Methods inherited from class atg.security.GenericUserAuthority
addAuthenticationFailedListener, addAuthenticationSucceededListener, addSpecialPersona, fireAuthenticationFailedEvent, fireAuthenticationSucceededEvent, getProxyUserAuthorities, getSpecialPersonae, getSupportsEveryone, getUserAuthorityName, removeAuthenticationFailedListener, removeAuthenticationSucceededListener, removeSpecialPersona, setProxyUserAuthorities, setSpecialPersonae, setSupportsEveryone, setUserAuthorityName, userDestroyed
 
Methods inherited from class atg.nucleus.RegisteredService
addToRegistry, getRegistry, getRegistryName, getServiceName, removeFromRegistry, setRegistryName, setServiceName, startService, stopService
 
Methods inherited from class atg.nucleus.GenericService
addLogListener, createAdminServlet, doStartService, doStopService, getAbsoluteName, getAdminServlet, getLoggingForVlogging, getLogListenerCount, getLogListeners, getName, getNameContext, getNucleus, getRoot, getServiceConfiguration, getServiceInfo, isLoggingDebug, isLoggingError, isLoggingInfo, isLoggingTrace, isLoggingWarning, isRunning, logDebug, logDebug, logDebug, logError, logError, logError, logInfo, logInfo, logInfo, logTrace, logTrace, logTrace, logWarning, logWarning, logWarning, nameContextElementBound, nameContextElementUnbound, removeLogListener, resolveName, resolveName, resolveName, resolveName, sendLogEvent, setLoggingDebug, setLoggingError, setLoggingInfo, setLoggingTrace, setLoggingWarning, setNucleus, setServiceInfo
 
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

CLASS_VERSION

public static java.lang.String CLASS_VERSION
Class version string

Constructor Detail

SerializedProxyUserAuthority

public SerializedProxyUserAuthority()

SerializedProxyUserAuthority

public SerializedProxyUserAuthority(UserAuthority pAuthority)
Method Detail

getPersona

public Persona getPersona(java.lang.Object pId)
Description copied from class: GenericUserAuthority
Returns a persona for the given ID object. This is typically used by an ACL parser, where the ID is usually a string. In this implementation the only IDs that have matching personae are those that were defined as "special" personae.

Specified by:
getPersona in interface UserAuthority
Overrides:
getPersona in class GenericUserAuthority

getUserAuthority

public UserAuthority getUserAuthority()
Returns the real user authority that this proxy is a substitute for, if possible. If no authority is known this should return "this" (ie not null).

Specified by:
getUserAuthority in interface ProxyUserAuthority

setUserAuthority

public void setUserAuthority(UserAuthority pNewAuthority)
Changes the real user authority that this proxy is a substitute for, if possible.

Specified by:
setUserAuthority in interface ProxyUserAuthority