public class GenericProxyUserAuthority extends java.lang.Object implements ProxyUserAuthority
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
CLASS_VERSION |
| Constructor and Description |
|---|
GenericProxyUserAuthority() |
GenericProxyUserAuthority(UserAuthority pUserAuthority) |
| 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.
|
Persona |
getPersona(java.lang.Object id)
Returns a persona for the given ID object.
|
UserAuthority |
getUserAuthority()
Returns the real user authority that this proxy is a substitute for, if possible.
|
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 |
setUserAuthority(UserAuthority pNewAuthority)
Changes the real user authority that this proxy is a substitute for, if possible.
|
void |
userDestroyed(User user)
Called by a User object when it is destroyed.
|
public GenericProxyUserAuthority()
public GenericProxyUserAuthority(UserAuthority pUserAuthority)
public java.lang.String getUserAuthorityName()
getUserAuthorityName in interface UserAuthoritypublic void userDestroyed(User user)
userDestroyed in interface UserAuthoritypublic Persona getPersona(java.lang.Object id)
getPersona in interface UserAuthoritypublic void addAuthenticationSucceededListener(DataListener pListener)
addAuthenticationSucceededListener in interface UserAuthoritypublic void removeAuthenticationSucceededListener(DataListener pListener)
removeAuthenticationSucceededListener in interface UserAuthoritypublic void addAuthenticationFailedListener(DataListener pListener)
addAuthenticationFailedListener in interface UserAuthoritypublic void removeAuthenticationFailedListener(DataListener pListener)
removeAuthenticationFailedListener in interface UserAuthoritypublic UserAuthority getUserAuthority()
this" (ie not
null).getUserAuthority in interface ProxyUserAuthoritypublic void setUserAuthority(UserAuthority pNewAuthority)
setUserAuthority in interface ProxyUserAuthority