Package net.shibboleth.idp.authn.impl
Class X509ProxyFilter
java.lang.Object
net.shibboleth.idp.authn.impl.X509ProxyFilter
- All Implemented Interfaces:
javax.servlet.Filter
Servlet filter to translate Apache mod_ssl certificate variables into Java servlet attributes.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final String
Apache null indicator.static final String
Init parameter controlling what headers to check for the chain certificates.private Collection<String>
Name of headers containing chain certificates.static final String
Init parameter controlling what headers to check for the leaf certificate.private String
Name of header containing end-entity certificate.private final org.slf4j.Logger
Class logger. -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
LEAF_HEADER_PARAM
Init parameter controlling what headers to check for the leaf certificate.- See Also:
-
CHAIN_HEADERS_PARAM
Init parameter controlling what headers to check for the chain certificates.- See Also:
-
APACHE_NULL
Apache null indicator.- See Also:
-
log
@Nonnull private final org.slf4j.Logger logClass logger. -
leafHeader
Name of header containing end-entity certificate. -
chainHeaders
Name of headers containing chain certificates.
-
-
Constructor Details
-
X509ProxyFilter
public X509ProxyFilter()Constructor.
-
-
Method Details
-
init
public void init(javax.servlet.FilterConfig config) throws javax.servlet.ServletException - Specified by:
init
in interfacejavax.servlet.Filter
- Throws:
javax.servlet.ServletException
-
doFilter
public void doFilter(javax.servlet.ServletRequest request, javax.servlet.ServletResponse response, javax.servlet.FilterChain chain) throws IOException, javax.servlet.ServletException - Specified by:
doFilter
in interfacejavax.servlet.Filter
- Throws:
IOException
javax.servlet.ServletException
-
destroy
public void destroy()- Specified by:
destroy
in interfacejavax.servlet.Filter
-