org.gcube.accounting.security.authn.filter
Class X509Filter

java.lang.Object
  extended by org.gcube.accounting.security.authn.filter.X509Filter
All Implemented Interfaces:
javax.servlet.Filter

public class X509Filter
extends Object
implements javax.servlet.Filter


Constructor Summary
X509Filter()
           
 
Method Summary
 void destroy()
           
 void doFilter(javax.servlet.ServletRequest req, javax.servlet.ServletResponse res, javax.servlet.FilterChain chain)
          Just create an attribute named 'requestorDN' containing the DN of the user making the request
 void init(javax.servlet.FilterConfig arg0)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

X509Filter

public X509Filter()
Method Detail

init

public void init(javax.servlet.FilterConfig arg0)
          throws javax.servlet.ServletException
Specified by:
init in interface javax.servlet.Filter
Throws:
javax.servlet.ServletException

doFilter

public void doFilter(javax.servlet.ServletRequest req,
                     javax.servlet.ServletResponse res,
                     javax.servlet.FilterChain chain)
              throws IOException,
                     javax.servlet.ServletException
Just create an attribute named 'requestorDN' containing the DN of the user making the request

Specified by:
doFilter in interface javax.servlet.Filter
Throws:
IOException
javax.servlet.ServletException

destroy

public void destroy()
Specified by:
destroy in interface javax.servlet.Filter


Copyright © 2013. All Rights Reserved.