|
Nuxeo ECM Projects 5.4.3-SNAPSHOT | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
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.
Method Summary | |
---|---|
void |
doFilter(ServletRequest request,
ServletResponse response,
FilterChain chain)
Main Filter method Filter . |
Method Detail |
---|
void doFilter(ServletRequest request, ServletResponse response, FilterChain chain) throws IOException, ServletException
Filter
.
The FilterChain is only composed of the preFilters and the
NuxeoAuthenticationFilter
IOException
ServletException
FilterChain
|
Nuxeo ECM Projects 5.4.3-SNAPSHOT | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |