I'm trying to use a filter to validate that the user is logged in. I think I have something wrong in my configuration, or perhaps my thinking.
I'm running this under Glassfish started from Netbeans 6.7
The
java code is executed once, only the iniitializer, the actual filter code is never called.
The log files show that this call is being made:
public void init(FilterConfig filterConfig) throws ServletException {
this.filterConfig = filterConfig;
lfLog.debug( "Login filter initialised");
}
this is never called
public void doFilter(ServletRequest request,
ServletResponse response, FilterChain chain)
throws java.io.IOException, ServletException {
chain.doFilter(request, response);
lfLog.debug("filter called");
}
any pointers greatly appreciated
Pat