@Override public void saveAccount(SamlSession account) { HttpSession session = request.getSession(true); session.setAttribute(SamlSession.class.getName(), account); if (idMapper != null) idMapper.map( account.getSessionIndex(), account.getPrincipal().getSamlSubject(), session.getId()); }