SEC-645: Deprecated old X.509 provider.

This commit is contained in:
Luke Taylor 2008-01-29 11:50:33 +00:00
parent 95c6ecdb1e
commit 059ac644bb
13 changed files with 21 additions and 7 deletions

View File

@ -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 &lt;x509 /&gt; element.
* @version $Id$
*/
public class X509AuthenticationProvider implements AuthenticationProvider, InitializingBean, MessageSourceAware {

View File

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

View File

@ -33,6 +33,7 @@ import java.security.cert.X509Certificate;
* </p>
*
* @author Luke Taylor
* @deprecated
* @version $Id$
*/
public interface X509AuthoritiesPopulator {

View File

@ -30,6 +30,7 @@ import java.security.cert.X509Certificate;
* </p>
*
* @author Luke Taylor
* @deprecated
* @version $Id$
*/
public interface X509UserCache {

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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