@Bean
    @RefreshScope(proxyMode = ScopedProxyMode.DEFAULT)
    @ConditionalOnMissingBean(name = CasWebflowConstants.ACTION_ID_SPNEGO_CLIENT_HOSTNAME)
    public Action hostnameSpnegoClientAction(
        final ConfigurableApplicationContext applicationContext,
        final CasConfigurationProperties casProperties) {
        return WebflowActionBeanSupplier.builder()
            .withApplicationContext(applicationContext)
            .withProperties(casProperties)
            .withAction(() -> {
                val spnegoProperties = casProperties.getAuthn().getSpnego();
                return new HostNameSpnegoKnownClientSystemsFilterAction(RegexUtils.createPattern(
                    spnegoProperties.getIpsToCheckPattern()), spnegoProperties.getAlternativeRemoteHostAttribute(),
                    Beans.newDuration(spnegoProperties.getDnsTimeout()).toMillis(), spnegoProperties.getHostNamePatternString());
            })
            .withId(CasWebflowConstants.ACTION_ID_SPNEGO_CLIENT_HOSTNAME)
            .build()
            .get();
    }
This is {@link SpnegoWebflowActionsConfiguration}.

@author Misagh Moayyed
@since 5.0.0
support/cas-server-support-spnego-webflow/src/main/java/org/apereo/cas/config/SpnegoWebflowActionsConfiguration.java