diff --git a/remoting/src/main/java/org/springframework/security/remoting/dns/DnsEntryNotFoundException.java b/remoting/src/main/java/org/springframework/security/remoting/dns/DnsEntryNotFoundException.java index 9b4725390c..4606bbe617 100644 --- a/remoting/src/main/java/org/springframework/security/remoting/dns/DnsEntryNotFoundException.java +++ b/remoting/src/main/java/org/springframework/security/remoting/dns/DnsEntryNotFoundException.java @@ -21,7 +21,9 @@ package org.springframework.security.remoting.dns; * * @author Mike Wiesner * @since 3.0 + * @deprecated as of 5.6.0 with no replacement */ +@Deprecated public class DnsEntryNotFoundException extends DnsLookupException { private static final long serialVersionUID = -947232730426775162L; diff --git a/remoting/src/main/java/org/springframework/security/remoting/dns/DnsLookupException.java b/remoting/src/main/java/org/springframework/security/remoting/dns/DnsLookupException.java index 2cfc64e6e9..536bf1817f 100644 --- a/remoting/src/main/java/org/springframework/security/remoting/dns/DnsLookupException.java +++ b/remoting/src/main/java/org/springframework/security/remoting/dns/DnsLookupException.java @@ -21,7 +21,9 @@ package org.springframework.security.remoting.dns; * * @author Mike Wiesner * @since 3.0 + * @deprecated as of 5.6.0 with no replacement */ +@Deprecated public class DnsLookupException extends RuntimeException { public DnsLookupException(String msg, Throwable cause) { diff --git a/remoting/src/main/java/org/springframework/security/remoting/dns/DnsResolver.java b/remoting/src/main/java/org/springframework/security/remoting/dns/DnsResolver.java index 990fdeb6fe..ae7c19d419 100644 --- a/remoting/src/main/java/org/springframework/security/remoting/dns/DnsResolver.java +++ b/remoting/src/main/java/org/springframework/security/remoting/dns/DnsResolver.java @@ -21,7 +21,9 @@ package org.springframework.security.remoting.dns; * * @author Mike Wiesner * @since 3.0 + * @deprecated as of 5.6.0 with no replacement */ +@Deprecated public interface DnsResolver { /** diff --git a/remoting/src/main/java/org/springframework/security/remoting/dns/InitialContextFactory.java b/remoting/src/main/java/org/springframework/security/remoting/dns/InitialContextFactory.java index 4169c8a739..264fccc4f7 100644 --- a/remoting/src/main/java/org/springframework/security/remoting/dns/InitialContextFactory.java +++ b/remoting/src/main/java/org/springframework/security/remoting/dns/InitialContextFactory.java @@ -27,7 +27,9 @@ import javax.naming.directory.InitialDirContext; * @see InitialDirContext * @see DirContext * @see JndiDnsResolver + * @deprecated as of 5.6.0 with no replacement */ +@Deprecated public interface InitialContextFactory { /** diff --git a/remoting/src/main/java/org/springframework/security/remoting/dns/JndiDnsResolver.java b/remoting/src/main/java/org/springframework/security/remoting/dns/JndiDnsResolver.java index b4c6bae39c..c9024d21bd 100644 --- a/remoting/src/main/java/org/springframework/security/remoting/dns/JndiDnsResolver.java +++ b/remoting/src/main/java/org/springframework/security/remoting/dns/JndiDnsResolver.java @@ -40,7 +40,9 @@ import javax.naming.directory.InitialDirContext; * @since 3.0 * @see DnsResolver * @see InitialContextFactory + * @deprecated as of 5.6.0 with no replacement */ +@Deprecated public class JndiDnsResolver implements DnsResolver { private InitialContextFactory ctxFactory = new DefaultInitialContextFactory(); diff --git a/remoting/src/main/java/org/springframework/security/remoting/httpinvoker/AuthenticationSimpleHttpInvokerRequestExecutor.java b/remoting/src/main/java/org/springframework/security/remoting/httpinvoker/AuthenticationSimpleHttpInvokerRequestExecutor.java index 648c886428..a7dba3e4ea 100644 --- a/remoting/src/main/java/org/springframework/security/remoting/httpinvoker/AuthenticationSimpleHttpInvokerRequestExecutor.java +++ b/remoting/src/main/java/org/springframework/security/remoting/httpinvoker/AuthenticationSimpleHttpInvokerRequestExecutor.java @@ -34,7 +34,9 @@ import org.springframework.security.core.context.SecurityContextHolder; * * @author Ben Alex * @author Rob Winch + * @deprecated as of 5.6.0 with no replacement */ +@Deprecated public class AuthenticationSimpleHttpInvokerRequestExecutor extends SimpleHttpInvokerRequestExecutor { private static final Log logger = LogFactory.getLog(AuthenticationSimpleHttpInvokerRequestExecutor.class); diff --git a/remoting/src/main/java/org/springframework/security/remoting/rmi/ContextPropagatingRemoteInvocation.java b/remoting/src/main/java/org/springframework/security/remoting/rmi/ContextPropagatingRemoteInvocation.java index 2324a3b201..a6f526909e 100644 --- a/remoting/src/main/java/org/springframework/security/remoting/rmi/ContextPropagatingRemoteInvocation.java +++ b/remoting/src/main/java/org/springframework/security/remoting/rmi/ContextPropagatingRemoteInvocation.java @@ -44,7 +44,9 @@ import org.springframework.security.core.context.SecurityContextHolder; * @author James Monaghan * @author Ben Alex * @author Luke Taylor + * @deprecated as of 5.6.0 with no replacement */ +@Deprecated public class ContextPropagatingRemoteInvocation extends RemoteInvocation { private static final long serialVersionUID = SpringSecurityCoreVersion.SERIAL_VERSION_UID; diff --git a/remoting/src/main/java/org/springframework/security/remoting/rmi/ContextPropagatingRemoteInvocationFactory.java b/remoting/src/main/java/org/springframework/security/remoting/rmi/ContextPropagatingRemoteInvocationFactory.java index 6ea30971a4..077832a287 100644 --- a/remoting/src/main/java/org/springframework/security/remoting/rmi/ContextPropagatingRemoteInvocationFactory.java +++ b/remoting/src/main/java/org/springframework/security/remoting/rmi/ContextPropagatingRemoteInvocationFactory.java @@ -32,7 +32,9 @@ import org.springframework.remoting.support.RemoteInvocationFactory; * * @author James Monaghan * @author Ben Alex + * @deprecated as of 5.6.0 with no replacement */ +@Deprecated public class ContextPropagatingRemoteInvocationFactory implements RemoteInvocationFactory { @Override