@Override public void process(final SOAPEnvelope envelope, final Authentification provider) { final SOAPElement getEventResponse = envelope.getBody().getElement("AuthentificationResponse"); final MapData data = (MapData) getEventResponse.getFirstData(); if (!data.getValue("success").getBooleanValue()) { AuthentificationManager.INSTANCE.setSessionParams(null); return; } try { AuthentificationManager.INSTANCE.setSessionParams(envelope.getHeaderFields()); } catch (Exception e) { AuthentificationAnswer.m_logger.warn( (Object) "Probl\u00e8me \u00e0 la d\u00e9s\u00e9rialisation des donn\u00e9es d'authentification", (Throwable) e); } }
@Override public void onError(final Authentification provider) { AuthentificationManager.INSTANCE.setSessionParams(null); }