diff --git a/config/src/main/java/org/springframework/security/config/annotation/authentication/builders/AuthenticationManagerBuilder.java b/config/src/main/java/org/springframework/security/config/annotation/authentication/builders/AuthenticationManagerBuilder.java index 8c7888dc53..c4104202dc 100644 --- a/config/src/main/java/org/springframework/security/config/annotation/authentication/builders/AuthenticationManagerBuilder.java +++ b/config/src/main/java/org/springframework/security/config/annotation/authentication/builders/AuthenticationManagerBuilder.java @@ -65,6 +65,18 @@ public class AuthenticationManagerBuilder private AuthenticationEventPublisher eventPublisher; + /** + * Creates a new instance + * @param objectPostProcessor the + * {@link org.springframework.security.config.annotation.ObjectPostProcessor} instance + * to use. + */ + @Deprecated(since = "6.4", forRemoval = true) + public AuthenticationManagerBuilder( + org.springframework.security.config.annotation.ObjectPostProcessor objectPostProcessor) { + super(objectPostProcessor, true); + } + /** * Creates a new instance * @param objectPostProcessor the {@link ObjectPostProcessor} instance to use.