|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
This interface is useful if you want to modify the way users are registered or logged in. You must specify the name of the class that implements this interface in the <extensions>-node in config.xml.
| Method Summary | |
void |
finishLogin(User user)
Invoked after the user has been logged in. |
void |
finishRegister(User user)
Invoked after the user has been registered. |
boolean |
prepareLogin(AuthenticationData data,
java.net.InetAddress clientAddress,
int clientPort)
Invoked before a registered user is logged in. |
boolean |
prepareRegister(RegistrationData data,
java.net.InetAddress clientAddress,
int clientPort)
Invoked before a new user is registered. |
| Method Detail |
public boolean prepareLogin(AuthenticationData data,
java.net.InetAddress clientAddress,
int clientPort)
setErrorCode method of the AuthenticationData object to send customized error codes
to the clients. Otherwise a default error code will be sent.
public boolean prepareRegister(RegistrationData data,
java.net.InetAddress clientAddress,
int clientPort)
finishRegister method of this extension to send the generated password in an email
to the new user and thus verify the email address that she entered. To send customized error codes
to the clients, you can use the setErrorCode method of the AuthenticationData object.
Otherwise a default error code will be sent.public void finishLogin(User user)
public void finishRegister(User user)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||