Skip to content

Commit 03fc573

Browse files
ngocnhan-tran1996jzheaux
authored andcommitted
Add Deprecated ObjectPostProcessor constructor
Issue gh-16174
1 parent 5329030 commit 03fc573

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

config/src/main/java/org/springframework/security/config/annotation/authentication/builders/AuthenticationManagerBuilder.java

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,19 @@ public class AuthenticationManagerBuilder
6565

6666
private AuthenticationEventPublisher eventPublisher;
6767

68+
/**
69+
* Creates a new instance
70+
* @param objectPostProcessor the
71+
* {@link org.springframework.security.config.annotation.ObjectPostProcessor} instance
72+
* to use.
73+
* @deprecated
74+
*/
75+
@Deprecated(since = "6.4", forRemoval = true)
76+
public AuthenticationManagerBuilder(
77+
org.springframework.security.config.annotation.ObjectPostProcessor<Object> objectPostProcessor) {
78+
super(objectPostProcessor, true);
79+
}
80+
6881
/**
6982
* Creates a new instance
7083
* @param objectPostProcessor the {@link ObjectPostProcessor} instance to use.

0 commit comments

Comments
 (0)