Login Event Handler

Top  Previous  Next

A login event handler is used to provide custom logic during the login process.  The login event handler is designed to allow a developer complete control over how a user logs into the server.  Multiple login event handlers can be tied to the server at one time.  The order in which they are specified dictates their execution order.  Each login event handler has the ability to fail the login at any time.  A very common use for a login event handler is to look up a username and password in the database before letting the user login to the server.

 

See LoginEventHandler in the [installation directory]/server/examples folder for an example.  After creating a login event handler, you will need to use the web admin to add it as a server level component of the extension it is in.