|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface Authenticator
| Method Summary | |
|---|---|
String |
authenticate(String username_,
String currentPassword_)
Called by AMPS.Client, just before the logon command is sent. |
void |
completed(String username_,
String password_,
int reason_)
Called when a logon completes successfully. |
String |
retry(String username_,
String password_)
Called when a logon "ack" is received with a status of "retry". |
| Method Detail |
|---|
String authenticate(String username_,
String currentPassword_)
throws AuthenticationException
username_ - The current value of the username as specified in the URI.currentPassword_ - The current value of the password, as specified in the URI.
AuthenticationException - An error occured while authenticating.
String retry(String username_,
String password_)
throws AuthenticationException
username_ - The username returned by the server's ACK message.password_ - The password or token returned in the server's ACK message.
AuthenticationException - An error occured while authenticating.
void completed(String username_,
String password_,
int reason_)
throws AuthenticationException
username_ - The username that successfully logged on to the server.password_ - The password that successfully logged on to the server.reason_ - The reason (a value from Message.Reason) for the successful completion.
AuthenticationException - The client-side authentication module detected an error.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||