Skip to content

Commit

Permalink
Nested security configs can set proxyBeanMethods as true
Browse files Browse the repository at this point in the history
  • Loading branch information
drumonii committed Dec 6, 2019
1 parent dadee42 commit 7c3621a
Showing 1 changed file with 2 additions and 2 deletions.
Expand Up @@ -102,7 +102,7 @@ public AuthenticationEntryPoint authenticationEntryPoint() {
/**
* In memory authentication configuration for {@link Dev} and {@link Testing} profiles.
*/
@Configuration
@Configuration(proxyBeanMethods = false)
@Dev @Testing
public static class WebDevTestingSecurityConfig {

Expand All @@ -129,7 +129,7 @@ public PasswordEncoder passwordEncoder() {
/**
* JDBC authentication configuration for {@link Embedded} and {@link External} profiles.
*/
@Configuration
@Configuration(proxyBeanMethods = false)
@Embedded @External
public static class WebEmbeddedExternalSecurityConfig {

Expand Down

0 comments on commit 7c3621a

Please sign in to comment.