public interface UserAuthority
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.
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
CLASS_VERSION |
Modifier and Type | Method and Description |
---|---|
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.
|
static final java.lang.String CLASS_VERSION
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)