From 08dbf66880fd302aaf5b05d2e7f4dbdb6a681507 Mon Sep 17 00:00:00 2001 From: Luke Taylor Date: Thu, 10 Mar 2005 03:21:25 +0000 Subject: [PATCH] (Currently functionless) entry point implementation for X.509 --- .../x509/X509ProcessingFilterEntryPoint.java | 27 +++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 core/src/main/java/org/acegisecurity/ui/x509/X509ProcessingFilterEntryPoint.java diff --git a/core/src/main/java/org/acegisecurity/ui/x509/X509ProcessingFilterEntryPoint.java b/core/src/main/java/org/acegisecurity/ui/x509/X509ProcessingFilterEntryPoint.java new file mode 100644 index 0000000000..d80f8973dd --- /dev/null +++ b/core/src/main/java/org/acegisecurity/ui/x509/X509ProcessingFilterEntryPoint.java @@ -0,0 +1,27 @@ +package net.sf.acegisecurity.ui.x509; + +import net.sf.acegisecurity.intercept.web.AuthenticationEntryPoint; +import net.sf.acegisecurity.AuthenticationException; +import net.sf.acegisecurity.providers.x509.X509AuthenticationProvider; + +import javax.servlet.ServletRequest; +import javax.servlet.ServletResponse; +import javax.servlet.ServletException; +import java.io.IOException; + +import org.apache.commons.logging.Log; +import org.apache.commons.logging.LogFactory; + +/** + * + * @author Luke Taylor + */ +public class X509ProcessingFilterEntryPoint implements AuthenticationEntryPoint { + //~ Static fields/initializers ============================================= + + private static final Log logger = LogFactory.getLog(X509ProcessingFilterEntryPoint.class); + + public void commence(ServletRequest request, ServletResponse response, AuthenticationException authException) throws IOException, ServletException { + logger.debug("commence called: request = [" + request +"] exception ["+ authException + "]"); + } +}