|
@@ -1,5 +1,5 @@
|
|
|
/*
|
|
|
- * Copyright 2002-2024 the original author or authors.
|
|
|
+ * Copyright 2002-2025 the original author or authors.
|
|
|
*
|
|
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
|
* you may not use this file except in compliance with the License.
|
|
@@ -79,15 +79,6 @@ 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
|
|
@@ -103,18 +94,6 @@ 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.
|