fedora.server.security.servletfilters
Class FilterSetup
java.lang.Object
fedora.server.security.servletfilters.Base
fedora.server.security.servletfilters.FilterSetup
- All Implemented Interfaces:
- javax.servlet.Filter
- Direct Known Subclasses:
- BaseContributing, FilterEnforceAuthn, FilterFinalize
public class FilterSetup
- extends Base
- implements javax.servlet.Filter
- Author:
- Bill Niebel (niebel@virginia.edu)
|
Field Summary |
protected java.lang.String |
FILTER_NAME
|
protected boolean |
inited
|
protected static org.apache.commons.logging.Log |
log
|
protected static java.lang.String |
NOT_SET
|
| Methods inherited from class fedora.server.security.servletfilters.Base |
booleanValue, enter, enterExit, exit, fail, format, format, format, getClassName, pass, passFail, showThrowable |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
log
protected static org.apache.commons.logging.Log log
NOT_SET
protected static final java.lang.String NOT_SET
- See Also:
- Constant Field Values
FILTER_NAME
protected java.lang.String FILTER_NAME
inited
protected boolean inited
FilterSetup
public FilterSetup()
getFilterNameAbbrev
public static final java.lang.String getFilterNameAbbrev(java.lang.String filterName)
init
public void init(javax.servlet.FilterConfig filterConfig)
- Specified by:
init in interface javax.servlet.Filter
destroy
public void destroy()
- Specified by:
destroy in interface javax.servlet.Filter
initThisSubclass
protected void initThisSubclass(java.lang.String key,
java.lang.String value)
- Overrides:
initThisSubclass in class Base
wrap
public ExtendedHttpServletRequest wrap(javax.servlet.http.HttpServletRequest httpServletRequest)
throws java.lang.Exception
- Throws:
java.lang.Exception
doThisSubclass
public boolean doThisSubclass(ExtendedHttpServletRequest extendedHttpServletRequest,
javax.servlet.http.HttpServletResponse response)
throws java.lang.Throwable
- Throws:
java.lang.Throwable
doFilter
public void doFilter(javax.servlet.ServletRequest servletRequest,
javax.servlet.ServletResponse response,
javax.servlet.FilterChain chain)
throws javax.servlet.ServletException
- Specified by:
doFilter in interface javax.servlet.Filter
- Throws:
javax.servlet.ServletException