public static void registerActivity ( final EFapsSession _session ) { if ( _session . isLogedIn ( ) && RegistryManager . getCache ( ) . containsKey ( _session . getId ( ) ) ) { final UserSession userSession = RegistryManager . getCache ( ) . get ( _session . getId ( ) ) ; if ( userSession . isInvalidated ( ) ) { _session . invalidate ( ) ; } else { userSession . registerActivity ( ) ; } } }
Register activity .