code: protected void addAuthnContextClassContext(ProfileRequestContext<?, ?> context, AuthnContextClassContext authnContextClassContext)
        throws ExternalAutenticationErrorCodeException {
      AuthenticationContext authnContext = authenticationContextLookupStrategy.apply(context);
      if (authnContext == null) {
        log.error("No AuthenticationContext available [{}]", this.getLogString(context));
        throw new ExternalAutenticationErrorCodeException(AuthnEventIds.INVALID_AUTHN_CTX, "Missing AuthenticationContext");
      }
      authnContext.addSubcontext(authnContextClassContext, true);
    }
docs: Adds the supplied {@code AuthnContextClassContext} to the request context
  
  @param context
  the request context
  @param authnContextClassContext
  the context to add
  @throws ExternalAutenticationErrorCodeException
  if no context exists