org.nuxeo.ecm.platform.ui.web.auth.interfaces
Interface NuxeoAuthPreFilter
- All Known Implementing Classes:
- NuxeoOAuthFilter
public interface NuxeoAuthPreFilter
The Authentication filter already provides a complexe plugin model.
Unfortunatly in some cases, it's easier to have a dedciated filter to
implment the custom auth logic. But in this case, you have to configure the
new filter for each url pattern that is already protected by
NuxeoAuthenticationFilter.
In order to avoid that you can run your Filter as a pre-Filter for the
NuxeoAUthenticationFilter. For that you need to implement this interface and
register your implementation via the preFilter extension point.
- Author:
- tiry
doFilter
void doFilter(ServletRequest request,
ServletResponse response,
FilterChain chain)
throws IOException,
ServletException
- Main Filter method @See
Filter
The FilterChain is only composed of the preFilters and the
NuxeoAuthenticationFilter
- Parameters:
request
- response
-
- Throws:
IOException
ServletException
Copyright © 2011 Nuxeo SAS. All Rights Reserved.