|
@@ -79,6 +79,15 @@ public abstract class AbstractConfiguredSecurityBuilder<O, B extends SecurityBui
|
|
|
this(objectPostProcessor, false);
|
|
|
}
|
|
|
|
|
|
+ /**
|
|
|
+ * @deprecated
|
|
|
+ */
|
|
|
+ @Deprecated(since = "6.4", forRemoval = true)
|
|
|
+ protected AbstractConfiguredSecurityBuilder(
|
|
|
+ org.springframework.security.config.annotation.ObjectPostProcessor<Object> objectPostProcessor) {
|
|
|
+ this(objectPostProcessor, false);
|
|
|
+ }
|
|
|
+
|
|
|
/***
|
|
|
* Creates a new instance with the provided {@link ObjectPostProcessor}. This post
|
|
|
* processor must support Object since there are many types of objects that may be
|
|
@@ -94,6 +103,18 @@ public abstract class AbstractConfiguredSecurityBuilder<O, B extends SecurityBui
|
|
|
this.allowConfigurersOfSameType = allowConfigurersOfSameType;
|
|
|
}
|
|
|
|
|
|
+ /**
|
|
|
+ * @deprecated
|
|
|
+ */
|
|
|
+ @Deprecated(since = "6.4", forRemoval = true)
|
|
|
+ protected AbstractConfiguredSecurityBuilder(
|
|
|
+ org.springframework.security.config.annotation.ObjectPostProcessor<Object> objectPostProcessor,
|
|
|
+ boolean allowConfigurersOfSameType) {
|
|
|
+ Assert.notNull(objectPostProcessor, "objectPostProcessor cannot be null");
|
|
|
+ this.objectPostProcessor = objectPostProcessor;
|
|
|
+ this.allowConfigurersOfSameType = allowConfigurersOfSameType;
|
|
|
+ }
|
|
|
+
|
|
|
/**
|
|
|
* Similar to {@link #build()} and {@link #getObject()} but checks the state to
|
|
|
* determine if {@link #build()} needs to be called first.
|