Last active
May 1, 2021 16:26
-
-
Save boudhayan-dev/0acd67f4eae1df0246d2e4347c837ee7 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@Bean | |
@ConditionalOnBean(name = DEFAULT_FILTER_NAME) | |
public DelegatingFilterProxyRegistrationBean securityFilterChainRegistration( | |
SecurityProperties securityProperties) { | |
DelegatingFilterProxyRegistrationBean registration = new DelegatingFilterProxyRegistrationBean( | |
DEFAULT_FILTER_NAME); | |
registration.setOrder(securityProperties.getFilter().getOrder()); | |
registration.setDispatcherTypes(getDispatcherTypes(securityProperties)); | |
return registration; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment