code: protected String getRelayState(ProfileRequestContext<?, ?> context) {
      SAMLBindingContext samlBinding = this.samlBindingContextLookupStrategy.apply(context);
      return samlBinding != null ? samlBinding.getRelayState() : null;
    }
docs: Utility method that may be used to obtain the Relay State for the request.
  
  @param context
  the profile context
  @return the relay state
  @see #getRelayState(HttpServletRequest)