mirror of
https://github.com/spring-projects/spring-security.git
synced 2025-06-25 05:22:16 +00:00
SEC-645: Deprecated old X.509 provider.
This commit is contained in:
parent
95c6ecdb1e
commit
059ac644bb
@ -44,6 +44,8 @@ import java.security.cert.X509Certificate;
|
||||
* org.springframework.security.ui.x509.X509ProcessingFilter}).</p>
|
||||
*
|
||||
* @author Luke Taylor
|
||||
* @deprecated superceded by the preauth provider. Use the X.509 authentication support in org.springframework.security.ui.preauth.x509 instead
|
||||
* or namespace support via the <x509 /> element.
|
||||
* @version $Id$
|
||||
*/
|
||||
public class X509AuthenticationProvider implements AuthenticationProvider, InitializingBean, MessageSourceAware {
|
||||
|
@ -26,6 +26,7 @@ import java.security.cert.X509Certificate;
|
||||
* <code>Authentication</code> implementation for X.509 client-certificate authentication.
|
||||
*
|
||||
* @author Luke Taylor
|
||||
* @deprecated superceded by the preauth provider. Use the X.509 authentication support in org.springframework.security.ui.preauth.x509 instead.
|
||||
* @version $Id$
|
||||
*/
|
||||
public class X509AuthenticationToken extends AbstractAuthenticationToken {
|
||||
@ -49,7 +50,7 @@ public class X509AuthenticationToken extends AbstractAuthenticationToken {
|
||||
}
|
||||
|
||||
/**
|
||||
* Used for an authentication response object. The {@link Authentication#isAuthenticated()}
|
||||
* Used for an authentication response object. The {@link org.springframework.security.Authentication#isAuthenticated()}
|
||||
* will return <code>true</code>.
|
||||
*
|
||||
* @param principal the principal, which is generally a
|
||||
|
@ -33,6 +33,7 @@ import java.security.cert.X509Certificate;
|
||||
* </p>
|
||||
*
|
||||
* @author Luke Taylor
|
||||
* @deprecated
|
||||
* @version $Id$
|
||||
*/
|
||||
public interface X509AuthoritiesPopulator {
|
||||
|
@ -30,6 +30,7 @@ import java.security.cert.X509Certificate;
|
||||
* </p>
|
||||
*
|
||||
* @author Luke Taylor
|
||||
* @deprecated
|
||||
* @version $Id$
|
||||
*/
|
||||
public interface X509UserCache {
|
||||
|
@ -41,6 +41,7 @@ import java.security.cert.X509Certificate;
|
||||
*
|
||||
* @author Luke Taylor
|
||||
* @author Ben Alex
|
||||
* @deprecated use the X509 preauthenticated
|
||||
* @version $Id$
|
||||
*/
|
||||
public class EhCacheBasedX509UserCache implements X509UserCache, InitializingBean {
|
||||
|
@ -26,6 +26,7 @@ import java.security.cert.X509Certificate;
|
||||
* "Cache" that doesn't do any caching.
|
||||
*
|
||||
* @author Luke Taylor
|
||||
* @deprecated
|
||||
* @version $Id$
|
||||
*/
|
||||
public class NullX509UserCache implements X509UserCache {
|
||||
|
@ -1,5 +1,5 @@
|
||||
<html>
|
||||
<body>
|
||||
User caches for the X509 provider.
|
||||
Deprecated and will be removed in a future version. Use a caching UserDetailsService instead.
|
||||
</body>
|
||||
</html>
|
||||
|
@ -1,5 +1,6 @@
|
||||
<html>
|
||||
<body>
|
||||
An authentication provider that can process X.509 certificaties.
|
||||
This package is now deprecated and will be removed in a future version.
|
||||
Use the X.509 authentication support in org.springframework.security.ui.preauth.x509 instead.
|
||||
</body>
|
||||
</html>
|
||||
|
@ -44,6 +44,8 @@ import java.util.regex.Matcher;
|
||||
* Populates the X509 authorities via an {@link org.springframework.security.userdetails.UserDetailsService}.
|
||||
*
|
||||
* @author Luke Taylor
|
||||
* @deprecated This package is now deprecated. Use the X.509 authentication support in
|
||||
* org.springframework.security.ui.preauth.x509 instead.
|
||||
* @version $Id$
|
||||
*/
|
||||
public class DaoX509AuthoritiesPopulator implements X509AuthoritiesPopulator, InitializingBean, MessageSourceAware {
|
||||
|
@ -1,5 +1,7 @@
|
||||
<html>
|
||||
<body>
|
||||
Implementations that populate GrantedAuthority[]s of X509 authentications.
|
||||
This package is now deprecated and will be removed in a future version.
|
||||
Use the X.509 authentication support in org.springframework.security.ui.preauth.x509 instead.
|
||||
Authorities are loaded by a UserDetailsService.
|
||||
</body>
|
||||
</html>
|
||||
|
@ -66,6 +66,7 @@ import javax.servlet.FilterConfig;
|
||||
* org.springframework.security.util.FilterToBeanProxy}.</p>
|
||||
*
|
||||
* @author Luke Taylor
|
||||
* @deprecated Use <tt>X509PreAuthenticatedProcessingFilter</tt> from the preauth.x509 package instead
|
||||
* @version $Id$
|
||||
*/
|
||||
public class X509ProcessingFilter implements Filter, InitializingBean, ApplicationEventPublisherAware {
|
||||
|
@ -41,8 +41,8 @@ import org.apache.commons.logging.LogFactory;
|
||||
* <code>HttpServletResponse.SC_FORBIDDEN</code> (403 error).
|
||||
*
|
||||
* @author Luke Taylor
|
||||
* @version $Id: X509ProcessingFilterEntryPoint.java 1496 2006-05-23 13:38:33Z
|
||||
* benalex $
|
||||
* @deprecated Use the preauth package instead
|
||||
* @version $Id$
|
||||
*
|
||||
* @see org.springframework.security.ui.ExceptionTranslationFilter
|
||||
*/
|
||||
|
@ -1,5 +1,6 @@
|
||||
<html>
|
||||
<body>
|
||||
X.509 authentication filter and related classes.
|
||||
This package is now deprecated and will be removed in a future version.
|
||||
Use the X.509 authentication support in org.springframework.security.ui.preauth.x509 instead.
|
||||
</body>
|
||||
</html>
|
||||
|
Loading…
x
Reference in New Issue
Block a user