cas/src/main/java/org/springframework/security/cas/authentication/SpringCacheBasedTicketCache.java
public CasAuthenticationToken getByTicketId(final String serviceTicket) {
		final Cache.ValueWrapper element = serviceTicket != null ? cache
				.get(serviceTicket) : null;

		if (logger.isDebugEnabled()) {
			logger.debug("Cache hit: " + (element != null) + "; service ticket: "
					+ serviceTicket);
		}

		return element == null ? null : (CasAuthenticationToken) element.get();
	}
public CasAuthenticationToken getByTicketId(final String serviceTicket) {
		final Cache.ValueWrapper element = serviceTicket != null ? cache
				.get(serviceTicket) : null;

		if (logger.isDebugEnabled()) {
			logger.debug("Cache hit: " + (element != null) + "; service ticket: "
					+ serviceTicket);
		}

		return element == null ? null : (CasAuthenticationToken) element.get();
	}
========================================================================================================