public abstract class HdivWebSecurityConfigurationSupport {
@Bean
public HDIVConfig hdivConfig() {
SecurityConfigBuilder securityConfigBuilder = this.securityConfigBuilder();
this.configure(securityConfigBuilder);
HDIVConfig config = securityConfigBuilder.build();
config.setValidations(securityValidations());
// User configured exclusions
ExclusionRegistry exclusionRegistry = new ExclusionRegistry(patternMatcherFactory());
this.addExclusions(exclusionRegistry);