public static SessionEvent createAuthSuccessEvent(Session session) {
        return new SessionEvent(session, SESSION_AUTH_SUCCESS, null);
    }
Create an event associated with a successful authentication.

@param session the session that authenticated.
@return an event representing the connection event.
xmppserver/src/main/java/org/jivesoftware/openfire/audit/SessionEvent.java