@Bean
        @RefreshScope(proxyMode = ScopedProxyMode.DEFAULT)
        public CasWebSecurityConfigurer<Void> samlProtocolEndpointConfigurer() {
            return new CasWebSecurityConfigurer<>() {

                @Override
                public List<String> getIgnoredEndpoints() {
                    return List.of(StringUtils.prependIfMissing(SamlProtocolConstants.ENDPOINT_SAML_VALIDATE, "/"));
                }
            };
        }
This is {@link SamlConfiguration} that creates the necessary OpenSAML context and beans.

@author Misagh Moayyed
@since 5.0.0
support/cas-server-support-saml/src/main/java/org/apereo/cas/config/SamlConfiguration.java