code: public void invalidateAll(Predicate<? super C> predicate) {
          cache.invalidateAll(Sets.filter(cache.asMap().keySet(), predicate));
      }
docs: Discards any cached principal for the collection of credentials satisfying the given predicate.
  
  @param predicate a predicate to filter credentials