Access Control: LOGIN and LOGOUT events (#538).

The Access Control module fires custom events once a user logs in or out.

Your plugin can listen to these events analogous to core events:
{{{
import de.deepamehta.plugins.accesscontrol.event.PostLoginUserListener;
import de.deepamehta.plugins.accesscontrol.event.PostLogoutUserListener;

public class TimePlugin extends PluginActivator implements PostLoginUserListener,
                                                           PostLogoutUserListener {
    @Override
    public void postLoginUser(String username) {
        ...
    }

    @Override
    public void postLogoutUser(String username) {
        ...
    }
}
}}}

Don't forget to put Access Control in your plugin's dependencies (pom.xml):
{{{
<dependency>
    <groupId>de.deepamehta</groupId>
    <artifactId>deepamehta-accesscontrol</artifactId>
    <version>4.2-SNAPSHOT</version>
</dependency>
}}}

See #538.
See #290.