Add Deprecated ObjectPostProcessor constructor

Issue gh-16174
This commit is contained in:
Tran Ngoc Nhan 2024-12-04 19:27:20 +07:00 committed by Josh Cummings
parent 9c3b11914d
commit 8c0ea3e630
1 changed files with 13 additions and 0 deletions

View File

@ -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<Object> objectPostProcessor) {
super(objectPostProcessor, true);
}
/**
* Creates a new instance
* @param objectPostProcessor the {@link ObjectPostProcessor} instance to use.