To invalidate a session manually, simply call the following method:
session.invalidate();
All objects bound to the session are removed.