@Bean
    @RefreshScope(proxyMode = ScopedProxyMode.DEFAULT)
    @ConditionalOnAvailableEndpoint
    public HeimdallAuthorizationEndpoint heimdallAuthorizationEndpoint(
        final CasConfigurationProperties casProperties,
        final ConfigurableApplicationContext applicationContext,
        @Qualifier(AuthorizableResourceRepository.BEAN_NAME)
        final AuthorizableResourceRepository authorizableResourceRepository) {
        return new HeimdallAuthorizationEndpoint(casProperties,
            applicationContext, authorizableResourceRepository);
    }
This is {@link CasHeimdallAutoConfiguration}.

@author Misagh Moayyed
@since 7.2.0
support/cas-server-support-heimdall/src/main/java/org/apereo/cas/config/CasHeimdallAutoConfiguration.java