فهرست منبع

Deprecate remoting technologies support

Closes gh-10361
Marcus Da Coregio 3 سال پیش
والد
کامیت
77399ee2b0

+ 2 - 0
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;

+ 2 - 0
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) {

+ 2 - 0
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 {
 
 	/**

+ 2 - 0
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 {
 
 	/**

+ 2 - 0
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();

+ 2 - 0
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);

+ 2 - 0
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;

+ 2 - 0
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