public void remove(CasAuthentication token) { logger.debug("Cache remove: {}", token.getCredentials().toString()); this.remove(token.getCredentials().toString()); }
public void put(CasAuthentication token) { Element element = new Element(token.getCredentials().toString(), token); logger.debug("Cache put: {}", element.getKey()); cache.put(element); }