@Override
 public Map<String, List<String>> getHTTPHeaders(String url) {
   Map<String, List<String>> httpHeaders = null;
   Object httpHeadersObject = ContextUtils.getSessionAttribute(ESUP_HEADER_SHIB_HTTP_HEADERS);
   if (httpHeadersObject != null) {
     httpHeaders = (Map<String, List<String>>) httpHeadersObject;
     log.debug("httpHeaders :" + httpHeaders.toString());
   } else {
     log.warn("httpHeaders will be null : we don't retrieve any userinfos attributes !");
   }
   return httpHeaders;
 }
 /** @see org.esupportail.pstage.services.authentication.Authenticator#getUser() */
 public User getUser() {
   AuthInfo authInfo = (AuthInfo) ContextUtils.getSessionAttribute(AUTH_INFO_ATTRIBUTE);
   if (authInfo != null) {
     User user = (User) ContextUtils.getSessionAttribute(USER_ATTRIBUTE);
     if (logger.isDebugEnabled()) {
       logger.debug("found auth info in session: " + user);
     }
     return user;
   }
   if (logger.isDebugEnabled()) {
     logger.debug("no auth info found in session");
   }
   authInfo = authenticationService.getAuthInfo();
   if (authInfo == null) {
     return null;
   }
   if (AuthUtils.CAS.equals(authInfo.getType())) {
     User user = getDomainService().getUser(authInfo.getId());
     storeToSession(authInfo, user);
     return user;
   }
   return null;
 }