@ConditionalOnMissingBean(name = HttpClient.BEAN_NAME_HTTPCLIENT_NO_REDIRECT)
        @Bean
        @RefreshScope(proxyMode = ScopedProxyMode.DEFAULT)
        public HttpClient noRedirectHttpClient(
            @Qualifier(CasSSLContext.BEAN_NAME) final CasSSLContext casSslContext,
            @Qualifier("trustStoreSslSocketFactory") final LayeredConnectionSocketFactory trustStoreSslSocketFactory,
            final CasConfigurationProperties casProperties) {
            return getHttpClient(false, casSslContext, trustStoreSslSocketFactory, casProperties);
        }
This is {@link CasCoreHttpConfiguration}.

@author Misagh Moayyed
@since 5.1.0
core/cas-server-core-web/src/main/java/org/apereo/cas/config/CasCoreHttpConfiguration.java