static synchronized void saveToCache ( UnixUserGroupInformation ugi ) { ugiCache . put ( ugi . getUserName ( ) , new CachedUgi ( ugi , System . currentTimeMillis ( ) ) ) ; }
save an ugi to cache only for junit testing purposes