Deprecate remoting technologies support

Closes gh-10361
This commit is contained in:
Marcus Da Coregio 2021-10-12 14:59:37 -03:00
parent 86c24da38b
commit 77399ee2b0
8 changed files with 16 additions and 0 deletions

View File

@ -21,7 +21,9 @@ package org.springframework.security.remoting.dns;
* *
* @author Mike Wiesner * @author Mike Wiesner
* @since 3.0 * @since 3.0
* @deprecated as of 5.6.0 with no replacement
*/ */
@Deprecated
public class DnsEntryNotFoundException extends DnsLookupException { public class DnsEntryNotFoundException extends DnsLookupException {
private static final long serialVersionUID = -947232730426775162L; private static final long serialVersionUID = -947232730426775162L;

View File

@ -21,7 +21,9 @@ package org.springframework.security.remoting.dns;
* *
* @author Mike Wiesner * @author Mike Wiesner
* @since 3.0 * @since 3.0
* @deprecated as of 5.6.0 with no replacement
*/ */
@Deprecated
public class DnsLookupException extends RuntimeException { public class DnsLookupException extends RuntimeException {
public DnsLookupException(String msg, Throwable cause) { public DnsLookupException(String msg, Throwable cause) {

View File

@ -21,7 +21,9 @@ package org.springframework.security.remoting.dns;
* *
* @author Mike Wiesner * @author Mike Wiesner
* @since 3.0 * @since 3.0
* @deprecated as of 5.6.0 with no replacement
*/ */
@Deprecated
public interface DnsResolver { public interface DnsResolver {
/** /**

View File

@ -27,7 +27,9 @@ import javax.naming.directory.InitialDirContext;
* @see InitialDirContext * @see InitialDirContext
* @see DirContext * @see DirContext
* @see JndiDnsResolver * @see JndiDnsResolver
* @deprecated as of 5.6.0 with no replacement
*/ */
@Deprecated
public interface InitialContextFactory { public interface InitialContextFactory {
/** /**

View File

@ -40,7 +40,9 @@ import javax.naming.directory.InitialDirContext;
* @since 3.0 * @since 3.0
* @see DnsResolver * @see DnsResolver
* @see InitialContextFactory * @see InitialContextFactory
* @deprecated as of 5.6.0 with no replacement
*/ */
@Deprecated
public class JndiDnsResolver implements DnsResolver { public class JndiDnsResolver implements DnsResolver {
private InitialContextFactory ctxFactory = new DefaultInitialContextFactory(); private InitialContextFactory ctxFactory = new DefaultInitialContextFactory();

View File

@ -34,7 +34,9 @@ import org.springframework.security.core.context.SecurityContextHolder;
* *
* @author Ben Alex * @author Ben Alex
* @author Rob Winch * @author Rob Winch
* @deprecated as of 5.6.0 with no replacement
*/ */
@Deprecated
public class AuthenticationSimpleHttpInvokerRequestExecutor extends SimpleHttpInvokerRequestExecutor { public class AuthenticationSimpleHttpInvokerRequestExecutor extends SimpleHttpInvokerRequestExecutor {
private static final Log logger = LogFactory.getLog(AuthenticationSimpleHttpInvokerRequestExecutor.class); private static final Log logger = LogFactory.getLog(AuthenticationSimpleHttpInvokerRequestExecutor.class);

View File

@ -44,7 +44,9 @@ import org.springframework.security.core.context.SecurityContextHolder;
* @author James Monaghan * @author James Monaghan
* @author Ben Alex * @author Ben Alex
* @author Luke Taylor * @author Luke Taylor
* @deprecated as of 5.6.0 with no replacement
*/ */
@Deprecated
public class ContextPropagatingRemoteInvocation extends RemoteInvocation { public class ContextPropagatingRemoteInvocation extends RemoteInvocation {
private static final long serialVersionUID = SpringSecurityCoreVersion.SERIAL_VERSION_UID; private static final long serialVersionUID = SpringSecurityCoreVersion.SERIAL_VERSION_UID;

View File

@ -32,7 +32,9 @@ import org.springframework.remoting.support.RemoteInvocationFactory;
* *
* @author James Monaghan * @author James Monaghan
* @author Ben Alex * @author Ben Alex
* @deprecated as of 5.6.0 with no replacement
*/ */
@Deprecated
public class ContextPropagatingRemoteInvocationFactory implements RemoteInvocationFactory { public class ContextPropagatingRemoteInvocationFactory implements RemoteInvocationFactory {
@Override @Override