Package net.shibboleth.idp.authn.impl
Class X509ProxyFilter
java.lang.Object
net.shibboleth.idp.authn.impl.X509ProxyFilter
- All Implemented Interfaces:
Filter
Servlet filter to translate Apache mod_ssl certificate variables into Java servlet attributes.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final StringApache null indicator.static final StringInit parameter controlling what headers to check for the chain certificates.private Collection<String>Name of headers containing chain certificates.static final StringInit parameter controlling what headers to check for the leaf certificate.private StringName of header containing end-entity certificate.private final org.slf4j.LoggerClass logger. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoiddestroy()voiddoFilter(ServletRequest request, ServletResponse response, FilterChain chain) voidinit(FilterConfig config)
-
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
- Specified by:
initin interfaceFilter- Throws:
ServletException
-
doFilter
public void doFilter(ServletRequest request, ServletResponse response, FilterChain chain) throws IOException, ServletException - Specified by:
doFilterin interfaceFilter- Throws:
IOExceptionServletException
-
destroy
public void destroy()
-