private void updateSession(final LinkedHashMap<String, String> messages) {
        sessionStore.set(context, SAML_STORAGE_KEY, messages);
    }
Updates session with the internalMessages key. Some application servers require session value to be updated
in order to replicate the session across nodes or persist it correctly.
pac4j-saml/src/main/java/org/pac4j/saml/store/HttpSessionStore.java