mirror of
https://github.com/spring-projects/spring-security.git
synced 2025-06-28 14:52:24 +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>
|
* org.springframework.security.ui.x509.X509ProcessingFilter}).</p>
|
||||||
*
|
*
|
||||||
* @author Luke Taylor
|
* @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$
|
* @version $Id$
|
||||||
*/
|
*/
|
||||||
public class X509AuthenticationProvider implements AuthenticationProvider, InitializingBean, MessageSourceAware {
|
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.
|
* <code>Authentication</code> implementation for X.509 client-certificate authentication.
|
||||||
*
|
*
|
||||||
* @author Luke Taylor
|
* @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$
|
* @version $Id$
|
||||||
*/
|
*/
|
||||||
public class X509AuthenticationToken extends AbstractAuthenticationToken {
|
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>.
|
* will return <code>true</code>.
|
||||||
*
|
*
|
||||||
* @param principal the principal, which is generally a
|
* @param principal the principal, which is generally a
|
||||||
|
@ -33,6 +33,7 @@ import java.security.cert.X509Certificate;
|
|||||||
* </p>
|
* </p>
|
||||||
*
|
*
|
||||||
* @author Luke Taylor
|
* @author Luke Taylor
|
||||||
|
* @deprecated
|
||||||
* @version $Id$
|
* @version $Id$
|
||||||
*/
|
*/
|
||||||
public interface X509AuthoritiesPopulator {
|
public interface X509AuthoritiesPopulator {
|
||||||
|
@ -30,6 +30,7 @@ import java.security.cert.X509Certificate;
|
|||||||
* </p>
|
* </p>
|
||||||
*
|
*
|
||||||
* @author Luke Taylor
|
* @author Luke Taylor
|
||||||
|
* @deprecated
|
||||||
* @version $Id$
|
* @version $Id$
|
||||||
*/
|
*/
|
||||||
public interface X509UserCache {
|
public interface X509UserCache {
|
||||||
|
@ -41,6 +41,7 @@ import java.security.cert.X509Certificate;
|
|||||||
*
|
*
|
||||||
* @author Luke Taylor
|
* @author Luke Taylor
|
||||||
* @author Ben Alex
|
* @author Ben Alex
|
||||||
|
* @deprecated use the X509 preauthenticated
|
||||||
* @version $Id$
|
* @version $Id$
|
||||||
*/
|
*/
|
||||||
public class EhCacheBasedX509UserCache implements X509UserCache, InitializingBean {
|
public class EhCacheBasedX509UserCache implements X509UserCache, InitializingBean {
|
||||||
|
@ -26,6 +26,7 @@ import java.security.cert.X509Certificate;
|
|||||||
* "Cache" that doesn't do any caching.
|
* "Cache" that doesn't do any caching.
|
||||||
*
|
*
|
||||||
* @author Luke Taylor
|
* @author Luke Taylor
|
||||||
|
* @deprecated
|
||||||
* @version $Id$
|
* @version $Id$
|
||||||
*/
|
*/
|
||||||
public class NullX509UserCache implements X509UserCache {
|
public class NullX509UserCache implements X509UserCache {
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
<html>
|
<html>
|
||||||
<body>
|
<body>
|
||||||
User caches for the X509 provider.
|
Deprecated and will be removed in a future version. Use a caching UserDetailsService instead.
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
@ -1,5 +1,6 @@
|
|||||||
<html>
|
<html>
|
||||||
<body>
|
<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>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
@ -44,6 +44,8 @@ import java.util.regex.Matcher;
|
|||||||
* Populates the X509 authorities via an {@link org.springframework.security.userdetails.UserDetailsService}.
|
* Populates the X509 authorities via an {@link org.springframework.security.userdetails.UserDetailsService}.
|
||||||
*
|
*
|
||||||
* @author Luke Taylor
|
* @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$
|
* @version $Id$
|
||||||
*/
|
*/
|
||||||
public class DaoX509AuthoritiesPopulator implements X509AuthoritiesPopulator, InitializingBean, MessageSourceAware {
|
public class DaoX509AuthoritiesPopulator implements X509AuthoritiesPopulator, InitializingBean, MessageSourceAware {
|
||||||
|
@ -1,5 +1,7 @@
|
|||||||
<html>
|
<html>
|
||||||
<body>
|
<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>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
@ -66,6 +66,7 @@ import javax.servlet.FilterConfig;
|
|||||||
* org.springframework.security.util.FilterToBeanProxy}.</p>
|
* org.springframework.security.util.FilterToBeanProxy}.</p>
|
||||||
*
|
*
|
||||||
* @author Luke Taylor
|
* @author Luke Taylor
|
||||||
|
* @deprecated Use <tt>X509PreAuthenticatedProcessingFilter</tt> from the preauth.x509 package instead
|
||||||
* @version $Id$
|
* @version $Id$
|
||||||
*/
|
*/
|
||||||
public class X509ProcessingFilter implements Filter, InitializingBean, ApplicationEventPublisherAware {
|
public class X509ProcessingFilter implements Filter, InitializingBean, ApplicationEventPublisherAware {
|
||||||
|
@ -41,8 +41,8 @@ import org.apache.commons.logging.LogFactory;
|
|||||||
* <code>HttpServletResponse.SC_FORBIDDEN</code> (403 error).
|
* <code>HttpServletResponse.SC_FORBIDDEN</code> (403 error).
|
||||||
*
|
*
|
||||||
* @author Luke Taylor
|
* @author Luke Taylor
|
||||||
* @version $Id: X509ProcessingFilterEntryPoint.java 1496 2006-05-23 13:38:33Z
|
* @deprecated Use the preauth package instead
|
||||||
* benalex $
|
* @version $Id$
|
||||||
*
|
*
|
||||||
* @see org.springframework.security.ui.ExceptionTranslationFilter
|
* @see org.springframework.security.ui.ExceptionTranslationFilter
|
||||||
*/
|
*/
|
||||||
|
@ -1,5 +1,6 @@
|
|||||||
<html>
|
<html>
|
||||||
<body>
|
<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>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user