@Bean
        @ConditionalOnMissingBean(name = "restAuthenticationPolicy")
        @RefreshScope(proxyMode = ScopedProxyMode.DEFAULT)
        public AuthenticationPolicy restAuthenticationPolicy() {
            return AuthenticationPolicy.alwaysSatisfied();
        }
This is {@link CasCoreRestAutoConfiguration}.

@author Misagh Moayyed
@since 6.4.0
core/cas-server-core-rest/src/main/java/org/apereo/cas/config/CasCoreRestAutoConfiguration.java