@ Override protected void after ( ) { super . after ( ) ; if ( adminSession != null ) { LOG . info ( "Logging off {}" , adminSession . getUserID ( ) ) ; adminSession . logout ( ) ; adminSession = null ; } if ( anonSession != null ) { LOG . info ( "Logging off {}" , anonSession . getUserID ( ) ) ; anonSession . logout ( ) ; anonSession = null ; } for ( final Session session : userSessions . values ( ) ) { LOG . info ( "Logging off {}" , session . getUserID ( ) ) ; session . logout ( ) ; } userSessions . clear ( ) ; LOG . info ( "Closed all sessions" ) ; }
Closes all sessions