Skip to content

Commit 4cc1279

Browse files
Add Deprecated ObjectPostProcessor constructor
1 parent 5329030 commit 4cc1279

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

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

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,18 @@ 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+
*/
74+
@Deprecated(since = "6.4", forRemoval = true)
75+
public AuthenticationManagerBuilder(
76+
org.springframework.security.config.annotation.ObjectPostProcessor<Object> objectPostProcessor) {
77+
super(objectPostProcessor, true);
78+
}
79+
6880
/**
6981
* Creates a new instance
7082
* @param objectPostProcessor the {@link ObjectPostProcessor} instance to use.

0 commit comments

Comments
 (0)