@Bean
    @RefreshScope(proxyMode = ScopedProxyMode.DEFAULT)
    @ConditionalOnMissingBean(name = AuthorizableResourceRepository.BEAN_NAME)
    public AuthorizableResourceRepository authorizableResourceRepository(
        final CasConfigurationProperties casProperties) throws Exception {
        val location = casProperties.getHeimdall().getJson().getLocation();
        return BeanSupplier.of(AuthorizableResourceRepository.class)
            .when(() -> location != null)
            .supplyUnchecked(() -> new JsonAuthorizableResourceRepository(location.getFile()))
            .otherwiseProxy()
            .get();
    }
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