|
|||||||||
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
public class GenericUserAuthority
This implements a user authority that does nothing -- it's just a handle.
UserAuthority
,
User
Field Summary | |
---|---|
static java.lang.String |
CLASS_VERSION
|
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 | |
---|---|
GenericUserAuthority()
|
|
GenericUserAuthority(java.lang.String name)
|
Method Summary | |
---|---|
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. |
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 |
Field Detail |
---|
public static java.lang.String CLASS_VERSION
Constructor Detail |
---|
public GenericUserAuthority()
public GenericUserAuthority(java.lang.String name)
Method Detail |
---|
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
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |