2
0
Эх сурвалжийг харах

Deprecate RemoteAuthentication* for 5.6

Closes gh-10430
Steve Riesenberg 3 жил өмнө
parent
commit
5e091b94a9

+ 2 - 0
core/src/main/java/org/springframework/security/authentication/rcp/RemoteAuthenticationException.java

@@ -28,7 +28,9 @@ import org.springframework.security.core.SpringSecurityCoreVersion;
  * issues for the remoting protocol.
  *
  * @author Ben Alex
+ * @deprecated as of 5.6.0 with no replacement
  */
+@Deprecated
 public class RemoteAuthenticationException extends NestedRuntimeException {
 
 	private static final long serialVersionUID = SpringSecurityCoreVersion.SERIAL_VERSION_UID;

+ 2 - 0
core/src/main/java/org/springframework/security/authentication/rcp/RemoteAuthenticationManager.java

@@ -24,7 +24,9 @@ import org.springframework.security.core.GrantedAuthority;
  * Allows remote clients to attempt authentication.
  *
  * @author Ben Alex
+ * @deprecated as of 5.6.0 with no replacement
  */
+@Deprecated
 public interface RemoteAuthenticationManager {
 
 	/**

+ 2 - 0
core/src/main/java/org/springframework/security/authentication/rcp/RemoteAuthenticationManagerImpl.java

@@ -32,7 +32,9 @@ import org.springframework.util.Assert;
  * configured <code>AuthenticationManager</code> to resolve an authentication request.
  *
  * @author Ben Alex
+ * @deprecated as of 5.6.0 with no replacement
  */
+@Deprecated
 public class RemoteAuthenticationManagerImpl implements RemoteAuthenticationManager, InitializingBean {
 
 	private AuthenticationManager authenticationManager;

+ 2 - 0
core/src/main/java/org/springframework/security/authentication/rcp/RemoteAuthenticationProvider.java

@@ -49,7 +49,9 @@ import org.springframework.util.Assert;
  * </p>
  *
  * @author Ben Alex
+ * @deprecated as of 5.6.0 with no replacement
  */
+@Deprecated
 public class RemoteAuthenticationProvider implements AuthenticationProvider, InitializingBean {
 
 	private RemoteAuthenticationManager remoteAuthenticationManager;

+ 1 - 0
core/src/main/java/org/springframework/security/authentication/rcp/package-info.java

@@ -17,5 +17,6 @@
 /**
  * Allows remote clients to authenticate and obtain a populated
  * <code>Authentication</code> object.
+ * @deprecated as of 5.6.0 with no replacement
  */
 package org.springframework.security.authentication.rcp;