HttpServletRequest httpServletRequest = (HttpServletRequest)credentials;
String sessionTicket = httpServletRequest.getHeader(SESSION_TICKET);
try {
return this.getUserStore().authenticate(sessionTicket);
} catch (UserStoreException e) {
throw new AuthenticationException("Error querying database for session information.", e);
}
}