anchor.diff:  ----
   @Bean
   Saml2AuthenticationRequestContextResolver authenticationRequestContextResolver() {
  -	Saml2AuthenticationRequestContextResolver resolver = new DefaultSaml2AuthenticationRequestContextResolver(relyingPartyRegistrationResolver);
  -	return request -> {
  -		Saml2AuthenticationRequestContext context = resolver.resolve(request);
  -		return context;
  -	};
  +    Saml2AuthenticationRequestContextResolver resolver =
  +            new DefaultSaml2AuthenticationRequestContextResolver();
  +    return request -> {
  +        Saml2AuthenticationRequestContext context = resolver.resolve(request);
  +        return new MySaml2AuthenticationRequestContext(context, request.getParameter("force") != null);
  +    };
   }
   
   @Bean
  
positive.code:     private val issuerBuilder: IssuerBuilder? = null
  
      // ... constructor
      override fun convert(context: MySaml2AuthenticationRequestContext): AuthnRequest {
          val issuer: Issuer = issuerBuilder.buildObject()
          issuer.value = context.getIssuer()
          val authnRequest: AuthnRequest = authnRequestBuilder.buildObject()
          authnRequest.issuer = issuer
          authnRequest.destination = context.getDestination()
          authnRequest.assertionConsumerServiceURL = context.getAssertionConsumerServiceUrl()
  
          // ... additional settings
          authRequest.setForceAuthn(context.getForceAuthn())
          return authnRequest
      }
  }
  
negative.code:     // ... constructor
  
      public AuthnRequest convert(Saml2AuthenticationRequestContext context) {
          MySaml2AuthenticationRequestContext myContext = (MySaml2AuthenticationRequestContext) context;
          Issuer issuer = issuerBuilder.buildObject();
          issuer.setValue(myContext.getIssuer());
  
          AuthnRequest authnRequest = authnRequestBuilder.buildObject();
          authnRequest.setIssuer(issuer);
          authnRequest.setDestination(myContext.getDestination());
          authnRequest.setAssertionConsumerServiceURL(myContext.getAssertionConsumerServiceUrl());
  
          // ... additional settings
  
          authRequest.setForceAuthn(myContext.getForceAuthn());
          return authnRequest;
      }
  }
  