public class GenericUserAuthority extends atg.nucleus.RegisteredService implements UserAuthority2
UserAuthority
,
User
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
CLASS_VERSION |
SERVICE_INFO_KEY
DEFAULT_LOG_TRACE_STATUS
DEFAULT_LOG_DEBUG_STATUS, DEFAULT_LOG_ERROR_STATUS, DEFAULT_LOG_INFO_STATUS, DEFAULT_LOG_WARNING_STATUS
Constructor and Description |
---|
GenericUserAuthority() |
GenericUserAuthority(java.lang.String name) |
Modifier and Type | Method and Description |
---|---|
void |
addAuthenticationFailedListener(DataListener pListener)
Adds a listener for "authentication failed" events.
|
void |
addAuthenticationSucceededListener(DataListener pListener)
Adds a listener for "authentication succeeded" events.
|
void |
addSpecialPersona(Persona pPersona)
Adds the indicated persona to the special persona list.
|
protected void |
fireAuthenticationFailedEvent(java.lang.String pSource,
java.lang.String pLoginName)
Fires an "authentication failed" event.
|
protected void |
fireAuthenticationSucceededEvent(java.lang.String pSource,
java.lang.String pLoginName)
Fires an "authentication succeeded" event.
|
Persona |
getPersona(java.lang.Object id)
Returns a persona for the given ID object.
|
ProxyUserAuthority[] |
getProxyUserAuthorities()
Returns the set of proxy user authorities associated with this user authority.
|
Persona[] |
getSpecialPersonae()
Returns the special personae supported by this user authority.
|
boolean |
getSupportsEveryone()
If true, this user authority supports the "EVERYONE" special
persona.
|
java.lang.String |
getUserAuthorityName()
Returns the name of the user authority.
|
void |
removeAuthenticationFailedListener(DataListener pListener)
Removes a listener for "authentication failed" events.
|
void |
removeAuthenticationSucceededListener(DataListener pListener)
Removes a listener for "authentication succeeded" events.
|
void |
removeSpecialPersona(Persona pPersona)
Removes the indicated persona from the special persona list.
|
void |
setProxyUserAuthorities(ProxyUserAuthority[] pProxies)
Sets this user authority up as the real authority for the given set of proxies.
|
void |
setSpecialPersonae(Persona[] pPersonae)
Changes the set of special personae supported by this user authority.
|
void |
setSupportsEveryone(boolean pSupported)
If set to true, this adds the "EVERYONE" special persona to the
list of special personae supported by this user authority.
|
void |
setUserAuthorityName(java.lang.String newName)
Changes the name of the user authority.
|
void |
userDestroyed(User user)
Called by a User object when it is destroyed.
|
addToRegistry, getRegistry, getRegistryName, getServiceName, removeFromRegistry, setRegistryName, setServiceName, startService, stopService
addLogListener, 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, setServiceInfo
vlogDebug, vlogDebug, vlogDebug, vlogDebug, vlogDebugTrace, vlogError, vlogError, vlogError, vlogError, vlogInfo, vlogInfo, vlogInfo, vlogInfo, vlogTrace, vlogTrace, vlogTrace, vlogTrace, vlogWarning, vlogWarning, vlogWarning, vlogWarning
public GenericUserAuthority()
public GenericUserAuthority(java.lang.String name)
protected void fireAuthenticationSucceededEvent(java.lang.String pSource, java.lang.String pLoginName)
protected void fireAuthenticationFailedEvent(java.lang.String pSource, java.lang.String pLoginName)
public void addSpecialPersona(Persona pPersona)
public void removeSpecialPersona(Persona pPersona)
public boolean getSupportsEveryone()
public void setSupportsEveryone(boolean pSupported)
public void setSpecialPersonae(Persona[] pPersonae)
public void setUserAuthorityName(java.lang.String newName)
public ProxyUserAuthority[] getProxyUserAuthorities()
public void setProxyUserAuthorities(ProxyUserAuthority[] pProxies)
public java.lang.String getUserAuthorityName()
getUserAuthorityName
in interface UserAuthority
public void userDestroyed(User user)
userDestroyed
in interface UserAuthority
public Persona getPersona(java.lang.Object id)
getPersona
in interface UserAuthority
public void addAuthenticationSucceededListener(DataListener pListener)
addAuthenticationSucceededListener
in interface UserAuthority
public void removeAuthenticationSucceededListener(DataListener pListener)
removeAuthenticationSucceededListener
in interface UserAuthority
public void addAuthenticationFailedListener(DataListener pListener)
addAuthenticationFailedListener
in interface UserAuthority
public void removeAuthenticationFailedListener(DataListener pListener)
removeAuthenticationFailedListener
in interface UserAuthority
public Persona[] getSpecialPersonae()
getSpecialPersonae
in interface UserAuthority2