public class X509AuthServlet
extends javax.servlet.http.HttpServlet
ExternalAuthentication interface that extracts and validates
an X.509 client certificate for user authentication.| Modifier and Type | Field and Description |
|---|---|
private org.slf4j.Logger |
log
Class logger.
|
private static String |
PASSTHROUGH_PARAM
Parameter/cookie for bypassing prompt page.
|
private static long |
serialVersionUID
Serial UUID.
|
private static String |
TRUST_ENGINE_PARAM
Init parameter identifying optional
TrustEngine bean name. |
private TrustEngine<? super X509Credential> |
trustEngine
Trust engine.
|
| Constructor and Description |
|---|
X509AuthServlet() |
| Modifier and Type | Method and Description |
|---|---|
void |
init(javax.servlet.ServletConfig config) |
protected void |
service(javax.servlet.http.HttpServletRequest httpRequest,
javax.servlet.http.HttpServletResponse httpResponse) |
void |
setTrustEngine(TrustEngine<? super X509Credential> tm)
Set the
TrustEngine to use. |
doDelete, doGet, doHead, doOptions, doPost, doPut, doTrace, getLastModified, serviceprivate static final long serialVersionUID
@Nonnull @NotEmpty private static final String TRUST_ENGINE_PARAM
TrustEngine bean name.@Nonnull @NotEmpty private static final String PASSTHROUGH_PARAM
@Nonnull private final org.slf4j.Logger log
@Nullable private TrustEngine<? super X509Credential> trustEngine
public void setTrustEngine(@Nullable TrustEngine<? super X509Credential> tm)
TrustEngine to use.tm - trust engine to usepublic void init(javax.servlet.ServletConfig config)
throws javax.servlet.ServletException
init in interface javax.servlet.Servletinit in class javax.servlet.GenericServletjavax.servlet.ServletExceptionprotected void service(javax.servlet.http.HttpServletRequest httpRequest,
javax.servlet.http.HttpServletResponse httpResponse)
throws javax.servlet.ServletException,
IOException
service in class javax.servlet.http.HttpServletjavax.servlet.ServletExceptionIOExceptionCopyright © 1999–2018 Shibboleth Consortium. All rights reserved.