|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectatg.security.GenericProxyUserAuthority
public class GenericProxyUserAuthority
An implementation of a generic ProxyUserAuthority object.
| Field Summary | |
|---|---|
static java.lang.String |
CLASS_VERSION
|
| Constructor Summary | |
|---|---|
GenericProxyUserAuthority()
|
|
GenericProxyUserAuthority(UserAuthority pUserAuthority)
|
|
| Method Summary | |
|---|---|
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. |
| 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 GenericProxyUserAuthority()
public GenericProxyUserAuthority(UserAuthority pUserAuthority)
| Method Detail |
|---|
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
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||