code: @Override
    protected void doExecute(ProfileRequestContext profileRequestContext, AuthenticationContext authenticationContext) {
  
      final ProxyIdpAuthenticationContext proxyContext = this.proxyIdpAuthenticationContextLookupStrategy.apply(authenticationContext);
      if (proxyContext == null) {
        return;
      }
      if (proxyContext.getAssertion() == null) {
        log.info("No Assertion saved in ProxyIdpAuthenticationContext - cannot process");
        return;
      }
  
      final Assertion assertion = assertionLookupStrategy.apply(profileRequestContext);
      if (assertion == null) {
        log.error("Unable to obtain Assertion to modify");
        ActionSupport.buildEvent(profileRequestContext, EventIds.INVALID_MSG_CTX);
        return;
      }
  
      this.setAuthenticatingAuthority(assertion, proxyContext.getAssertion());
    }
docs: {@inheritDoc}