public void setSessionIndex(String sessionIndex) {
        addAuthenticationAttribute(SAML2Authenticator.SESSION_INDEX, sessionIndex);
    }
<p>setSessionIndex.</p>

@param sessionIndex a {@link String} object
pac4j-saml/src/main/java/org/pac4j/saml/profile/SAML2Profile.java