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..0a734574a3 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,19 @@ public class AuthenticationManagerBuilder private AuthenticationEventPublisher eventPublisher; + /** + * Creates a new instance + * @param objectPostProcessor the + * {@link org.springframework.security.config.annotation.ObjectPostProcessor} instance + * to use. + * @deprecated + */ + @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.