Skip to content

Commit 77399ee

Browse files
Deprecate remoting technologies support
Closes gh-10361
1 parent 86c24da commit 77399ee

8 files changed

+16
-0
lines changed

remoting/src/main/java/org/springframework/security/remoting/dns/DnsEntryNotFoundException.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,9 @@
2121
*
2222
* @author Mike Wiesner
2323
* @since 3.0
24+
* @deprecated as of 5.6.0 with no replacement
2425
*/
26+
@Deprecated
2527
public class DnsEntryNotFoundException extends DnsLookupException {
2628

2729
private static final long serialVersionUID = -947232730426775162L;

remoting/src/main/java/org/springframework/security/remoting/dns/DnsLookupException.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,9 @@
2121
*
2222
* @author Mike Wiesner
2323
* @since 3.0
24+
* @deprecated as of 5.6.0 with no replacement
2425
*/
26+
@Deprecated
2527
public class DnsLookupException extends RuntimeException {
2628

2729
public DnsLookupException(String msg, Throwable cause) {

remoting/src/main/java/org/springframework/security/remoting/dns/DnsResolver.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,9 @@
2121
*
2222
* @author Mike Wiesner
2323
* @since 3.0
24+
* @deprecated as of 5.6.0 with no replacement
2425
*/
26+
@Deprecated
2527
public interface DnsResolver {
2628

2729
/**

remoting/src/main/java/org/springframework/security/remoting/dns/InitialContextFactory.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,9 @@
2727
* @see InitialDirContext
2828
* @see DirContext
2929
* @see JndiDnsResolver
30+
* @deprecated as of 5.6.0 with no replacement
3031
*/
32+
@Deprecated
3133
public interface InitialContextFactory {
3234

3335
/**

remoting/src/main/java/org/springframework/security/remoting/dns/JndiDnsResolver.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,9 @@
4040
* @since 3.0
4141
* @see DnsResolver
4242
* @see InitialContextFactory
43+
* @deprecated as of 5.6.0 with no replacement
4344
*/
45+
@Deprecated
4446
public class JndiDnsResolver implements DnsResolver {
4547

4648
private InitialContextFactory ctxFactory = new DefaultInitialContextFactory();

remoting/src/main/java/org/springframework/security/remoting/httpinvoker/AuthenticationSimpleHttpInvokerRequestExecutor.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,9 @@
3434
*
3535
* @author Ben Alex
3636
* @author Rob Winch
37+
* @deprecated as of 5.6.0 with no replacement
3738
*/
39+
@Deprecated
3840
public class AuthenticationSimpleHttpInvokerRequestExecutor extends SimpleHttpInvokerRequestExecutor {
3941

4042
private static final Log logger = LogFactory.getLog(AuthenticationSimpleHttpInvokerRequestExecutor.class);

remoting/src/main/java/org/springframework/security/remoting/rmi/ContextPropagatingRemoteInvocation.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,9 @@
4444
* @author James Monaghan
4545
* @author Ben Alex
4646
* @author Luke Taylor
47+
* @deprecated as of 5.6.0 with no replacement
4748
*/
49+
@Deprecated
4850
public class ContextPropagatingRemoteInvocation extends RemoteInvocation {
4951

5052
private static final long serialVersionUID = SpringSecurityCoreVersion.SERIAL_VERSION_UID;

remoting/src/main/java/org/springframework/security/remoting/rmi/ContextPropagatingRemoteInvocationFactory.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,9 @@
3232
*
3333
* @author James Monaghan
3434
* @author Ben Alex
35+
* @deprecated as of 5.6.0 with no replacement
3536
*/
37+
@Deprecated
3638
public class ContextPropagatingRemoteInvocationFactory implements RemoteInvocationFactory {
3739

3840
@Override

0 commit comments

Comments
 (0)