org.apache.hadoop.security
Class Krb5AndCertsSslSocketConnector.Krb5SslFilter
java.lang.Object
org.apache.hadoop.security.Krb5AndCertsSslSocketConnector.Krb5SslFilter
- All Implemented Interfaces:
- javax.servlet.Filter
- Enclosing class:
- Krb5AndCertsSslSocketConnector
public static class Krb5AndCertsSslSocketConnector.Krb5SslFilter
- extends Object
- implements javax.servlet.Filter
Filter that takes the Kerberos principal identified in the
Krb5AndCertsSslSocketConnector
and provides it the to the servlet
at runtime, setting the principal and short name.
Method Summary |
void |
destroy()
|
void |
doFilter(javax.servlet.ServletRequest req,
javax.servlet.ServletResponse resp,
javax.servlet.FilterChain chain)
|
void |
init(javax.servlet.FilterConfig arg0)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Krb5AndCertsSslSocketConnector.Krb5SslFilter
public Krb5AndCertsSslSocketConnector.Krb5SslFilter()
doFilter
public void doFilter(javax.servlet.ServletRequest req,
javax.servlet.ServletResponse resp,
javax.servlet.FilterChain chain)
throws IOException,
javax.servlet.ServletException
- Specified by:
doFilter
in interface javax.servlet.Filter
- Throws:
IOException
javax.servlet.ServletException
init
public void init(javax.servlet.FilterConfig arg0)
throws javax.servlet.ServletException
- Specified by:
init
in interface javax.servlet.Filter
- Throws:
javax.servlet.ServletException
destroy
public void destroy()
- Specified by:
destroy
in interface javax.servlet.Filter
Copyright © 2009 The Apache Software Foundation