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
* @since 3.0
* @deprecated as of 5.6.0 with no replacement
*/
@Deprecated
public class DnsEntryNotFoundException extends DnsLookupException {
private static final long serialVersionUID = -947232730426775162L;

View File

@ -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) {

View File

@ -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 {
/**

View File

@ -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 {
/**

View File

@ -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();

View File

@ -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);

View File

@ -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;

View File

@ -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