private User getFromCache(String userName)
   {
      return (User)cache.get(userName, CacheType.USER);
   }
private User getFromCache ( String userName ) { return ( User ) cache . get ( userName , CacheType . USER ) ; }
Get user from cache.