Nuxeo ECM Projects 5.4.3-SNAPSHOT

org.nuxeo.ecm.platform.ui.web.auth.interfaces
Interface NuxeoAuthPreFilter

All Known Implementing Classes:
NuxeoOAuthFilter

public interface NuxeoAuthPreFilter

The Authentication filter already provides a complex plugin model. Unfortunately in some cases, it's easier to have a dedicated filter to implement 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

Method Summary
 void doFilter(ServletRequest request, ServletResponse response, FilterChain chain)
          Main Filter method Filter.
 

Method Detail

doFilter

void doFilter(ServletRequest request,
              ServletResponse response,
              FilterChain chain)
              throws IOException,
                     ServletException
Main Filter method Filter. The FilterChain is only composed of the preFilters and the NuxeoAuthenticationFilter

Throws:
IOException
ServletException
See Also:
FilterChain

Nuxeo ECM Projects 5.4.3-SNAPSHOT

Copyright © 2011 Nuxeo SAS. All Rights Reserved.