public void setAuthnContexts(List<String> authnContexts) {
        addAuthenticationAttribute(SAML2Authenticator.AUTHN_CONTEXT, authnContexts);
    }
<p>setAuthnContexts.</p>

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