@Bean
        @RefreshScope(proxyMode = ScopedProxyMode.DEFAULT)
        public SamlIdPSaml2AttributeQueryProfileHandlerController saml2AttributeQueryProfileHandlerController(
            @Qualifier("samlProfileHandlerConfigurationContext")
            final SamlProfileHandlerConfigurationContext samlProfileHandlerConfigurationContext,
            @Qualifier("samlProfileSamlAttributeQueryResponseBuilder")
            final SamlProfileObjectBuilder<Envelope> samlProfileSamlAttributeQueryResponseBuilder) {
            samlProfileHandlerConfigurationContext.setResponseBuilder(samlProfileSamlAttributeQueryResponseBuilder);
            return new SamlIdPSaml2AttributeQueryProfileHandlerController(samlProfileHandlerConfigurationContext);
        }
This is {@link SamlIdPEndpointsConfiguration}.

@author Misagh Moayyed
@since 5.2.0
support/cas-server-support-saml-idp/src/main/java/org/apereo/cas/config/SamlIdPEndpointsConfiguration.java