Hi,
I posted my problem in another thread but I manged to find the cause of the
exception.
We have a SecurityFilter that extends OncePerRequestFilter.
In web.xml we have this:
    <filter>
        <filter-name>SecurityFilter</filter-name>
        <filter-class>com.eurekify.security.SecurityFilter</filter-class>
    </filter>

The exception was because in doFilterInternal, the session was referenced.
        if (details != null) {
            LOG.debug("saving user details from UserDetailslHolder to
Session");
            session.setAttribute(USER_NAME_ATTRIBUTE, details.getName());
            session.setAttribute(PASSWORD_ATTRIBUTE, details.getPassword());
        }

I'm going to put in that place a try catch clause. (or check the session
state)
Anyway,
can anyone give a brief explanation of the purpose of this
(doFilterInternal) method?
When is it being called?

Thanks


-- 
Eyal Golan
[EMAIL PROTECTED]

Visit: http://jvdrums.sourceforge.net/

Reply via email to