code: public RequestMatcher endpointsMatcher() {
          ServiceProviderEndpoints endpoints = Optional.of(serviceProviderBuilder)
                  .map(builder -> builder.getSharedObject(ServiceProviderEndpoints.class))
                  .orElseThrow(() -> new IllegalStateException("Can't find SAML Endpoints"));
          return new LazyEndpointsRequestMatcher(endpoints);
      }
docs: Returns a request {@link RequestMatcher} that matches all the SAML endpoints configured by the user:
  defaultFailureURL, ssoProcessingURL, ssoHoKProcessingURL, discoveryProcessingURL, idpSelectionPageURL,
  ssoLoginURL, metadataURL, defaultTargetURL, logoutURL and singleLogoutURL.
  To be used with {@link HttpSecurity#authorizeRequests()} in this fashion:
  <p>
  <pre>
  http
  .authorizeRequests()
  .requestMatchers(samlConfigurerBean.endpointsMatcher())
  .permitAll()
  </pre>
  <p>
  So that all the configured URLs can bypass security.
  
  @return the {@link RequestMatcher}