|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface UserAuthority
This interface is used for authenticating a user. It produces Persona objects that are used to identify a user and any roles that the user may have.
User authorities are also used to separate potentially overlapping namespaces; an account name is considered unique if it has a different user authority even if the name is otherwise identical.
Persona,
User,
User.hasUserAuthority(atg.security.UserAuthority)| Field Summary | |
|---|---|
static java.lang.String |
CLASS_VERSION
|
| Method Summary | |
|---|---|
void |
addAuthenticationFailedListener(DataListener listener)
Adds a listener for "authentication failed" events. |
void |
addAuthenticationSucceededListener(DataListener listener)
Adds a listener for "authentication succeeded" events. |
Persona |
getPersona(java.lang.Object id)
Returns a persona for the given ID object. |
java.lang.String |
getUserAuthorityName()
Returns the name of the user authority. |
void |
removeAuthenticationFailedListener(DataListener listener)
Removes a listener for "authentication failed" events. |
void |
removeAuthenticationSucceededListener(DataListener listener)
Removes a listener for "authentication succeeded" events. |
void |
userDestroyed(User user)
Called by a User object when it is destroyed. |
| Field Detail |
|---|
static final java.lang.String CLASS_VERSION
| Method Detail |
|---|
java.lang.String getUserAuthorityName()
void userDestroyed(User user)
Persona getPersona(java.lang.Object id)
void addAuthenticationSucceededListener(DataListener listener)
void removeAuthenticationSucceededListener(DataListener listener)
void addAuthenticationFailedListener(DataListener listener)
void removeAuthenticationFailedListener(DataListener listener)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||